mirror of
https://github.com/OpenByteInc/QuantDinger.git
synced 2026-09-28 23:32:55 +08:00
10 lines
236 B
Python
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
|