refine code

This commit is contained in:
geekan 2024-01-09 21:38:09 +08:00
parent c9e05a2186
commit df9d5158ec
2 changed files with 7 additions and 6 deletions

View file

@ -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