Linted .py files
Some checks failed
CI / Lint & Format (push) Has been cancelled
CI / Tests (Pytest + Alembic + Postgres) (push) Has been cancelled
CI / Docker Build (push) Has been cancelled

This commit is contained in:
2025-09-22 20:34:29 +01:00
parent e713f4cc6c
commit f04b04339f
14 changed files with 57 additions and 33 deletions

13
tests/test_health.py Normal file
View File

@@ -0,0 +1,13 @@
#
# Tiny test to pass CI, just checks the health endpoint to ensure API running.
#
from fastapi.testclient import TestClient
from app.main import app
def test_healthz():
client = TestClient(app)
r = client.get("/healthz")
assert r.status_code == 200
assert r.json() == {"ok": True}