diff --git a/tests/conftest.py b/tests/conftest.py index 30345fa..4016ff0 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,12 +1 @@ -import pytest -from fastapi.testclient import TestClient - -from app.config import get_settings -from app.main import app - - -@pytest.fixture -def client(): - get_settings.cache_clear() - with TestClient(app) as value: - yield value +# Env var setup that must run before app.config is imported.