chore(home): mirror from kalinamall (9883e6a) with papatramp URLs

This commit is contained in:
2026-07-14 20:43:52 +10:00
commit ed4e78f6c3
312 changed files with 42790 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
"""Extended /health payload for ops monitoring."""
def test_health_includes_stale_and_last_event(client, db_session, auth_headers):
r = client.get("/health")
assert r.status_code == 200
body = r.json()
assert body["database"] == "ok"
assert "hosts_stale" in body
assert "last_event_received_at" in body
assert body["service"] == "security-alert-center"