mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-14 02:52:12 +00:00
Remove warnings about pytest asyncio mode
This commit is contained in:
parent
a0dbbcfd5d
commit
655b3a2d48
134 changed files with 30 additions and 517 deletions
|
|
@ -1,15 +1,11 @@
|
|||
import datetime
|
||||
import logging
|
||||
|
||||
import pytest
|
||||
|
||||
from aiogram.client.session.middlewares.request_logging import RequestLogging
|
||||
from aiogram.methods import GetMe, SendMessage
|
||||
from aiogram.types import Chat, Message, User
|
||||
from tests.mocked_bot import MockedBot
|
||||
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
|
||||
class TestRequestLogging:
|
||||
async def test_use_middleware(self, bot: MockedBot, caplog):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue