1 parent 424ccd6 commit 5b37cd4Copy full SHA for 5b37cd4
1 file changed
tests/conftest.py
@@ -8,8 +8,8 @@
8
import pytest
9
from fastapi.testclient import TestClient
10
11
-import app.db as db_mod
12
-from app.core.config import get_settings
+import app.models.db as db_mod
+from app.infra.config import get_settings
13
from app.main import create_app
14
15
@@ -31,7 +31,7 @@ def _isolated_settings(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
31
32
@pytest.fixture()
33
def client() -> Iterator[TestClient]:
34
- from app.db import reset_engine_for_tests
+ from app.models.db import reset_engine_for_tests
35
36
reset_engine_for_tests(get_settings().db_url)
37
app = create_app()
0 commit comments