mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fix test
This commit is contained in:
parent
b6bb3d2cf0
commit
784679b46c
1 changed files with 2 additions and 2 deletions
|
|
@ -202,10 +202,10 @@ class TestSimpleRequestHandler:
|
|||
|
||||
|
||||
class TestTokenBasedRequestHandler:
|
||||
async def test_verify_secret(self):
|
||||
async def test_verify_secret(self, bot: MockedBot):
|
||||
dispatcher = Dispatcher()
|
||||
handler = TokenBasedRequestHandler(dispatcher=dispatcher)
|
||||
assert handler.verify_secret("petro328")
|
||||
assert handler.verify_secret("petro328", bot)
|
||||
|
||||
async def test_register(self):
|
||||
dispatcher = Dispatcher()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue