Migrated CI health test to new JSON. Refactored NGINX config
This commit is contained in:
@@ -8,6 +8,6 @@ from app.main import app
|
||||
|
||||
def test_healthz():
|
||||
client = TestClient(app)
|
||||
r = client.get("/healthz")
|
||||
r = client.get("/readyz")
|
||||
assert r.status_code == 200
|
||||
assert r.json() == {"ok": True}
|
||||
assert r.json() == {"status": "ok", "db": "up"}
|
||||
Reference in New Issue
Block a user