"""Liveness probe test. Readiness is covered by an integration test once a test database fixture exists (it requires a live Postgres).""" from fastapi.testclient import TestClient from app.main import app client = TestClient(app) def test_health_liveness(): resp = client.get("/health") assert resp.status_code == 200 body = resp.json() assert body["status"] == "ok" assert body["service"] == "Provenance" assert "version" in body