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>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
async def test_health_retourne_ok(client):
|
||||
response = await client.get("/api/health")
|
||||
assert response.status_code == 200
|
||||
assert response.json() == {"status": "ok"}
|
||||
Reference in New Issue
Block a user