Files
gilles 94b971cdf3 feat: endpoint GET /api/health + tests
Implémentation TDD : test écrit en premier (phase rouge), puis
app.main, app.api.health et app.api.media créés pour le faire passer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 04:59:36 +02:00

5 lines
176 B
Python

async def test_health_retourne_ok(client):
response = await client.get("/api/health")
assert response.status_code == 200
assert response.json() == {"status": "ok"}