"""Health endpoint test — AC 18.""" from __future__ import annotations import pytest from httpx import AsyncClient @pytest.mark.asyncio class TestHealth: """AC 18: GET /api/v1/health -> 200 without auth.""" async def test_health_returns_200_without_auth(self, client: AsyncClient): """AC 18: GET /api/v1/health -> 200 without auth.""" resp = await client.get("/api/v1/health") assert resp.status_code == 200 data = resp.json() assert data["status"] == "ok" assert "version" in data