sightbox/website/backend/tests/test_health.py

6 lines
164 B
Python

def test_health_returns_ok(client):
response = client.get("/health")
assert response.status_code == 200
assert response.get_json() == {"status": "ok"}