mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-26 15:49:42 +02:00
fixbug: creation of separate indices for each label
This commit is contained in:
parent
532099a7c6
commit
8137e1af50
2 changed files with 9 additions and 2 deletions
|
|
@ -64,6 +64,11 @@ async def test_react():
|
|||
assert role.is_idle
|
||||
env = Environment()
|
||||
env.add_role(role)
|
||||
env.publish_message(Message(content="test", tx_to=seed.subscription))
|
||||
assert not role.is_idle
|
||||
while not env.is_idle:
|
||||
await env.run()
|
||||
assert role.is_idle
|
||||
env.publish_message(Message(content="test", cause_by=seed.subscription))
|
||||
assert not role.is_idle
|
||||
while not env.is_idle:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue