From 784679b46c8e2c58ea60c0c66765c666477eedbd Mon Sep 17 00:00:00 2001 From: sheldy Date: Tue, 30 May 2023 10:22:33 +0300 Subject: [PATCH] fix test --- tests/test_webhook/test_aiohtt_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_webhook/test_aiohtt_server.py b/tests/test_webhook/test_aiohtt_server.py index ddbd59a9..4e3f6658 100644 --- a/tests/test_webhook/test_aiohtt_server.py +++ b/tests/test_webhook/test_aiohtt_server.py @@ -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()