Spaces:
Sleeping
Sleeping
github-actions[bot]
Sync backend to Hugging Face Space (commit: 39b5c807918249fa80049d49f4b6a74d6a0ed1fc)
6d86412 | from fastapi.testclient import TestClient | |
| from backend.app.main import app | |
| def test_healthz() -> None: | |
| client = TestClient(app) | |
| response = client.get("/healthz") | |
| assert response.status_code == 200 | |
| assert response.json() == {"status": "ok"} | |
| assert response.headers["x-request-id"] | |