Fix warning about asyncio marker

This commit is contained in:
Dmitry Anfimov 2022-12-13 20:10:46 +06:00
parent ae534298e5
commit 003c2b2c23
11 changed files with 1 additions and 24 deletions

View file

@ -1,10 +1,7 @@
import pytest
from aiogram import Bot, types
from .dataset import CHAT, FULL_CHAT
from .. import FakeTelegram
pytestmark = pytest.mark.asyncio
chat = types.Chat(**CHAT)

View file

@ -14,8 +14,6 @@ from aiogram.utils.json import json
from tests import TOKEN
from tests.types.dataset import FILE
pytestmark = pytest.mark.asyncio
@pytest_asyncio.fixture(name='bot')
async def bot_fixture():