From 87465ce4e38558da5675b9635bc14704fe3393e6 Mon Sep 17 00:00:00 2001 From: Anthony Lukach Date: Sat, 30 Nov 2024 14:51:32 -0800 Subject: [PATCH] add missing dummy test env val --- tests/conftest.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 84125e0..562caa3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -46,5 +46,11 @@ def source_api_server(source_api): @pytest.fixture def proxy_app(source_api_server: str) -> FastAPI: """Fixture for the proxy app, pointing to the source API.""" - test_app_settings = Settings(upstream_url=source_api_server, default_public=False) + test_app_settings = Settings( + upstream_url=source_api_server, + oidc_discovery_url="https://samples.auth0.com/.well-known/openid-configuration", + default_public=False, + _env_file=".env.test", + ) + print(f"{test_app_settings=}") return create_app(test_app_settings)