mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added more tests, update pyproject.toml
This commit is contained in:
parent
6fbc1bcfde
commit
d9f9ff74fe
8 changed files with 258 additions and 173 deletions
|
|
@ -41,6 +41,12 @@ class TestCommandFilter:
|
|||
"text,command,result",
|
||||
[
|
||||
["/test@tbot", Command(commands=["test"], prefix="/"), True],
|
||||
["/test@tbot", Command("test", prefix="/"), True],
|
||||
[
|
||||
"/test@tbot",
|
||||
Command(BotCommand(command="test", description="description"), prefix="/"),
|
||||
True,
|
||||
],
|
||||
["!test", Command(commands=["test"], prefix="/"), False],
|
||||
["/test@mention", Command(commands=["test"], prefix="/"), False],
|
||||
["/tests", Command(commands=["test"], prefix="/"), False],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue