Fix race condition in test

This commit is contained in:
Yurii Motov 2026-03-03 01:39:56 +01:00
parent 33bf4baf59
commit dae4442464
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ def test_swagger_ui_html(client: TestClient, path_prefix: str):
assert f"{path_prefix}/docs/oauth2-redirect" in response.text
@workdir_lock
def test_openapi_json(client: TestClient, path_prefix: str):
response = client.get(f"{path_prefix}/openapi.json")
assert response.request.url == f"http://server{path_prefix}/openapi.json"