feat(trade-monitor): FastAPI lifespan + heartbeat 배선 + /health
This commit is contained in:
6
services/trade-monitor/tests/test_health.py
Normal file
6
services/trade-monitor/tests/test_health.py
Normal file
@@ -0,0 +1,6 @@
|
||||
"""/health — 라우트 핸들러 직접 검증."""
|
||||
from main import health
|
||||
|
||||
|
||||
def test_health():
|
||||
assert health() == {"ok": True, "service": "trade-monitor"}
|
||||
Reference in New Issue
Block a user