tests: test against health check endpoint
Some checks failed
ci / lint_and_test (push) Failing after 8s

This commit is contained in:
Chris Milne 2026-06-15 09:57:36 +01:00
parent 6fb841516c
commit fc10307cc2

10
tests/test_healthcheck.py Normal file
View file

@ -0,0 +1,10 @@
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"}