mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 21:02:38 +02:00
refine code
This commit is contained in:
parent
c9e05a2186
commit
df9d5158ec
2 changed files with 7 additions and 6 deletions
|
|
@ -112,7 +112,7 @@ async def test_send_to():
|
|||
def test_init_action():
|
||||
role = Role()
|
||||
role.add_actions([MockAction, MockAction])
|
||||
assert role.action_count == 2
|
||||
assert len(role.actions) == 2
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue