"""Health endpoint smoke test.""" import pytest import pytest_asyncio from backend.app import create_app @pytest_asyncio.fixture async def client(): app = create_app() async with app.test_client() as c: yield c @pytest.mark.asyncio async def test_health_returns_ok(client): response = await client.get("/api/health") assert response.status_code == 200 body = await response.get_json() assert body == {"status": "ok"}