mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add sequence cases to StateFilter tests
This commit is contained in:
parent
96c6395f37
commit
a5c1f4d55d
1 changed files with 3 additions and 0 deletions
|
|
@ -41,6 +41,9 @@ class TestStateFilter:
|
|||
[[None], None, True],
|
||||
[None, "state", False],
|
||||
[[], "state", False],
|
||||
[[State("state"), "state"], "state", True],
|
||||
[[MyGroup(), State("state")], "@:state", True],
|
||||
[[MyGroup, State("state")], "state", False],
|
||||
],
|
||||
)
|
||||
@pytestmark
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue