add working tests

This commit is contained in:
2022-08-14 04:06:07 +03:00
parent e732f01638
commit ad90d3b02f
3 changed files with 14 additions and 35 deletions

View File

@@ -1,6 +1,6 @@
import factory
from app.tests.models import User
from faker import Faker
from tests.models import User
faker = Faker('ru_RU')

View File

@@ -1,7 +1,7 @@
import pytest
from aiogram import Bot, types
from app.tests.conftest import FakeTelegram
from tests.factories import UserFactory
from app.tests.factories import UserFactory
pytestmark = [
pytest.mark.asyncio,