Files
python-api/tests/integration/test_health.py
2026-03-01 07:44:19 +09:00

14 lines
359 B
Python

from __future__ import annotations
import pytest
from httpx import AsyncClient
@pytest.mark.asyncio
async def test_health_check(client: AsyncClient) -> None:
response = await client.get("/api/v1/system/health")
assert response.status_code == 200
data = response.json()
assert data["status"] == "ok"
assert data["service"] == "core-api"