7 lines
267 B
Python
7 lines
267 B
Python
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"}
|