mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix(tests): use relevant BaseHandler.__init__ signature
fix breaking tests, change signature of BaseHandler
This commit is contained in:
parent
0b3702f658
commit
de962d043d
4 changed files with 17 additions and 11 deletions
|
|
@ -44,7 +44,7 @@ class TestBaseMessageHandlerCommandMixin:
|
|||
chat=Chat(id=42, type="private"),
|
||||
from_user=User(id=42, is_bot=False, first_name="Test"),
|
||||
),
|
||||
command=CommandObject(prefix="/", command="command", args="args"),
|
||||
data=dict(command=CommandObject(prefix="/", command="command", args="args")),
|
||||
)
|
||||
|
||||
assert isinstance(handler.command, CommandObject)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue