mirror of
https://github.com/Balshgit/mosgortrans.git
synced 2026-02-03 11:20:56 +03:00
add working tests
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user