9 lines
246 B
Python
9 lines
246 B
Python
from httpx import AsyncClient
|
|
|
|
|
|
async def test_healthz(client: AsyncClient) -> None:
|
|
resp = await client.get("/healthz")
|
|
assert resp.status_code == 200
|
|
data = resp.json()
|
|
assert data["status"] == "ok"
|
|
assert "version" in data
|