Files
Dinger f5c9a9b3b6 v3.0.1
Signed-off-by: Dinger <quantdinger@gmail.com>
2026-04-09 22:38:47 +08:00

10 lines
236 B
Python

"""Test health endpoint."""
def test_health_endpoint(client):
"""GET /api/health should return 200."""
resp = client.get("/api/health")
assert resp.status_code == 200
data = resp.get_json()
assert data is not None