"""Test the health check endpoint.""" import pytest @pytest.mark.asyncio async def test_health_check(client): """Health check should return 200 with status ok.""" response = await client.get("/health") assert response.status_code == 200 data = response.json() assert data["status"] == "ok" assert "version" in data