10 lines
244 B
Python
10 lines
244 B
Python
import pytest
|
|
from httpx import AsyncClient
|
|
|
|
|
|
@pytest.mark.anyio
|
|
async def test_healthcheck(default_client: AsyncClient):
|
|
resp = await default_client.get("/healthcheck")
|
|
|
|
assert resp.status_code == 200
|
|
assert resp.json() == {"status": "ok"}
|