mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-08 17:13:56 +00:00
Fix async test for py3.7
This commit is contained in:
parent
eea75b8e9a
commit
0bd7fc2c7e
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ class TestDispatcher:
|
|||
response = await dispatcher.feed_webhook_update(bot, RAW_UPDATE, _timeout=1)
|
||||
assert response is None
|
||||
await asyncio.sleep(1)
|
||||
assert mocked_silent_call_request.awaited()
|
||||
mocked_silent_call_request.assert_awaited()
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_feed_webhook_update_fast_process_error(self, bot: MockedBot, caplog):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue