feat: add independent dashboard health endpoint (#26)
This commit is contained in:
1 parent
fef8480e5f
commit
20a6820d9a
2 files changed
+12
No files matched your search
@@ -0,0 +1,6 @@
|
||||
from src.main import app, health
|
||||
|
||||
|
||||
def test_health_endpoint_reports_service_liveness_without_gitea_access():
|
||||
assert any(getattr(route, "path", None) == "/healthz" for route in app.routes)
|
||||
assert health() == {"status": "ok", "service": "stackchain-dashboard"}
|
||||
Reference in new issue
Block a user