diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py index 011d6c7..bfb6f1d 100644 --- a/tests/e2e/conftest.py +++ b/tests/e2e/conftest.py @@ -39,7 +39,7 @@ def live_server() -> Generator[str, None, None]: if process.poll() is not None: raise RuntimeError("uvicorn server exited before becoming ready") try: - response = httpx.get(BASE_URL, timeout=1.0) + response = httpx.get(BASE_URL, timeout=1.0, trust_env=False) if response.status_code < 500: break except Exception as exc: # noqa: BLE001 @@ -73,7 +73,7 @@ def seed_default_currencies(live_server: str) -> None: {"code": "CLP", "name": "Chilean Peso", "symbol": "CLP$", "is_active": True}, ] - with httpx.Client(base_url=live_server, timeout=5.0) as client: + with httpx.Client(base_url=live_server, timeout=5.0, trust_env=False) as client: try: response = client.get("/api/currencies/?include_inactive=true") response.raise_for_status()