feat(trade-monitor): FastAPI lifespan + heartbeat 배선 + /health

This commit is contained in:
2026-07-03 01:47:34 +09:00
parent ce8983c1b9
commit 12aa55ed14
2 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
"""/health — 라우트 핸들러 직접 검증."""
from main import health
def test_health():
assert health() == {"ok": True, "service": "trade-monitor"}