refine code

This commit is contained in:
geekan 2024-01-09 21:38:09 +08:00 committed by 莘权 马
parent cf80777f79
commit 4bb4dce4b9
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