6 lines
217 B
Python
6 lines
217 B
Python
def test_health_returns_200(client):
|
|
"""GET /health returns 200 with {"status": "ok"}."""
|
|
response = client.get("/health")
|
|
assert response.status_code == 200
|
|
assert response.json() == {"status": "ok"}
|