Skip to content

Commit 18511bf

Browse files
committed
Specify unset openapi spec endpoint
1 parent 3bb0542 commit 18511bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_openapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def test_no_edit_openapi_spec(source_api_server):
1313
Settings(
1414
upstream_url=source_api_server,
1515
oidc_discovery_url="https://samples.auth0.com/.well-known/openid-configuration",
16+
openapi_spec_endpoint=None,
1617
)
1718
)
1819
client = TestClient(app)
@@ -37,7 +38,6 @@ def test_oidc_in_openapi_spec(source_api: FastAPI, source_api_server: str):
3738
openapi_spec_endpoint=source_api.openapi_url,
3839
)
3940
)
40-
print(f"{source_api.openapi_url=}")
4141
client = TestClient(app)
4242
response = client.get(source_api.openapi_url)
4343
assert response.status_code == 200

0 commit comments

Comments
 (0)