mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge 2f8ed13980 into d8e7801963
This commit is contained in:
commit
c34ee6338f
3 changed files with 8 additions and 2 deletions
|
|
@ -38,9 +38,9 @@ class TestCommandFilter:
|
|||
@pytest.mark.parametrize(
|
||||
"commands,checklist",
|
||||
[
|
||||
[("Test1", "tEst2", "teSt3"), ("test1", "test2", "test3")],
|
||||
[("/Test1", "tEst2", "teSt3"), ("test1", "test2", "test3")],
|
||||
[("12TeSt", "3t4Est", "5TE6sT"), ("12test", "3t4est", "5te6st")],
|
||||
[[BotCommand(command="Test", description="Test1")], ("test",)],
|
||||
[[BotCommand(command="/Test", description="Test1")], ("test",)],
|
||||
[[BotCommand(command="tEsT", description="Test2")], ("test",)],
|
||||
[(re.compile(r"test(\d+)"), "TeSt"), (re.compile(r"test(\d+)"), "test")],
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue