94b971cdf3
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>
5 lines
176 B
Python
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"}
|