generated from coulomb/repo-seed
14 lines
374 B
Python
14 lines
374 B
Python
def test_healthz(client):
|
|
response = client.get("/healthz")
|
|
|
|
assert response.status_code == 200
|
|
assert response.json()["status"] == "ok"
|
|
assert response.json()["service"] == "core-hub"
|
|
|
|
|
|
def test_readyz(client):
|
|
response = client.get("/readyz")
|
|
|
|
assert response.status_code == 200
|
|
assert response.json()["checks"]["database_url"] == "configured"
|