2026-05-29 15:18:10 +01:00
|
|
|
import pytest
|
|
|
|
|
from httpx import AsyncClient
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.anyio
|
2026-06-03 13:54:30 +01:00
|
|
|
async def test_healthcheck(default_client: AsyncClient):
|
|
|
|
|
resp = await default_client.get("/healthcheck")
|
2026-05-29 15:18:10 +01:00
|
|
|
|
|
|
|
|
assert resp.status_code == 200
|
|
|
|
|
assert resp.json() == {"status": "ok"}
|