초기 커밋
This commit is contained in:
13
tests/integration/test_health.py
Normal file
13
tests/integration/test_health.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user