Skip to content

Commit 5b37cd4

Browse files
authored
Update conftest.py
1 parent 424ccd6 commit 5b37cd4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/conftest.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import pytest
99
from fastapi.testclient import TestClient
1010

11-
import app.db as db_mod
12-
from app.core.config import get_settings
11+
import app.models.db as db_mod
12+
from app.infra.config import get_settings
1313
from app.main import create_app
1414

1515

@@ -31,7 +31,7 @@ def _isolated_settings(monkeypatch: pytest.MonkeyPatch) -> Iterator[None]:
3131

3232
@pytest.fixture()
3333
def client() -> Iterator[TestClient]:
34-
from app.db import reset_engine_for_tests
34+
from app.models.db import reset_engine_for_tests
3535

3636
reset_engine_for_tests(get_settings().db_url)
3737
app = create_app()

0 commit comments

Comments
 (0)