""" Basic smoke tests — if these fail, nothing else matters. """ import pytest @pytest.mark.anyio async def test_health(client): r = await client.get("/health") assert r.status_code == 200 assert r.json()["status"] == "ok" @pytest.mark.anyio async def test_auth_status(client): r = await client.get("/auth/status") assert r.status_code == 200 data = r.json() assert "claude" in data assert "gemini" in data assert "ok" in data["claude"] @pytest.mark.anyio async def test_distill_status(client): r = await client.get("/distill/status") assert r.status_code == 200 assert "enabled" in r.json() @pytest.mark.anyio async def test_unknown_route_404(client): r = await client.get("/does-not-exist") assert r.status_code == 404