mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
Fix database
This commit is contained in:
@@ -13,7 +13,7 @@ from app.database import Base
|
|||||||
from app.main import app
|
from app.main import app
|
||||||
from app.core.test_config import test_settings
|
from app.core.test_config import test_settings
|
||||||
from app.dependencies import get_db
|
from app.dependencies import get_db
|
||||||
from .fixtures import * # импортируем все фикстуры
|
from .fixtures import * # импортируем все фикстуsры
|
||||||
|
|
||||||
# Создаем тестовый движок базы данных
|
# Создаем тестовый движок базы данных
|
||||||
engine = create_engine(test_settings.DATABASE_URL)
|
engine = create_engine(test_settings.DATABASE_URL)
|
||||||
|
|||||||
Reference in New Issue
Block a user