fix: temporary constrain fastapi version (#418)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi
2025-10-24 11:22:05 +02:00
committed by GitHub
parent 462ceff9d1
commit 7bf2e7b366
3 changed files with 246 additions and 179 deletions

View File

@@ -54,6 +54,14 @@ async def test_health(client: AsyncClient):
assert response.json() == {"status": "ok"}
@pytest.mark.asyncio
async def test_openapijson(client: AsyncClient):
response = await client.get("/openapi.json")
assert response.status_code == 200
schema = response.json()
assert "openapi" in schema
@pytest.mark.asyncio
async def test_convert_file(client: AsyncClient, auth_headers: dict):
"""Test convert single file to all outputs"""