"""부팅 스모크 — 앱이 뜨고 헬스체크가 응답하는지.""" async def test_healthz(client): """검증: /healthz 호출.""" r = await client.get("/healthz") assert r.status_code == 200 assert isinstance(r.json(), str) and len(r.json()) > 0 async def test_readyz_checks_db(client, db_engine): """검증: /readyz 호출(테스트 DB 가 붙어 있는 정상 상태).""" r = await client.get("/readyz") assert r.status_code == 200 assert r.json() == {"ok": True, "db": "up"}