Skip to content

Commit 1eb5c7b

Browse files
committed
add missing environs for tests
Signed-off-by: Jesse Sanford <108698+jessesanford@users.noreply.github.com>
1 parent 2a18c8c commit 1eb5c7b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_proxy_oauth_endpoints.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def proxy_server(monkeypatch):
2424
# construct metadata locally instead of performing an HTTP GET.
2525
os.environ.setdefault("UPSTREAM_AUTHORIZATION_ENDPOINT", "https://upstream.example.com/authorize")
2626
os.environ.setdefault("UPSTREAM_TOKEN_ENDPOINT", "https://upstream.example.com/token")
27+
os.environ.setdefault("UPSTREAM_JWKS_URI", "https://upstream.example.com/jwks")
28+
os.environ.setdefault("UPSTREAM_CLIENT_ID", "client123")
29+
os.environ.setdefault("UPSTREAM_CLIENT_SECRET", "secret123")
2730

2831
# Deferred import so the env vars above are in effect.
2932
from examples.servers.proxy_oauth import server as proxy_server_module # noqa: WPS433 (runtime import for tests)

0 commit comments

Comments
 (0)