cloud-api/test/test_healthcheck.py
luxferre fab228bf8f
Some checks failed
ci / ruff (push) Successful in 4s
ci / ty (push) Successful in 4s
ci / tests (push) Failing after 7s
ci / build (push) Has been cancelled
minor: ruff format
Tabs -> spaces
2026-06-22 15:04:11 +01:00

10 lines
253 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"}