Files
lta_datamall_api/tests/routes/test_health.py
T

13 lines
330 B
Python

def test_healthz_returns_ok(client):
response = client.get("/healthz")
assert response.status_code == 200
assert response.json() == {"status": "ok"}
def test_readyz_returns_ready(client):
response = client.get("/readyz")
assert response.status_code == 200
assert response.json() == {"status": "ready"}