Migrated CI health test to new JSON. Refactored NGINX config
Some checks failed
CI / Lint & Format (push) Successful in 3s
CI / Tests (Pytest + Alembic + Postgres) (push) Failing after 4m44s
CI / Docker Build (push) Has been skipped

This commit is contained in:
2025-09-30 12:39:49 +01:00
parent 7054ba7547
commit ef947d9888
3 changed files with 6 additions and 23 deletions

View File

@@ -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"}