def test_health_ok(client): resp = client.get("/health") assert resp.status_code == 200 body = resp.json() assert body["status"] == "ok" # Message issu du catalogue de traduction, pas d'une chaƮne en dur. assert body["message"] == "Service opƩrationnel" def test_health_db_ok(client): resp = client.get("/health/db") assert resp.status_code == 200 assert resp.json()["status"] == "ok"