mirror of
https://github.com/furyhawk/lta_datamall_api.git
synced 2026-07-21 10:16:52 +00:00
13 lines
330 B
Python
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"}
|