""" 健康检查 + 模板下载测试 """ import pytest from httpx import AsyncClient class TestHealthCheck: """GET /health""" async def test_health_check(self, client: AsyncClient): """健康检查 → 200""" resp = await client.get("/health") assert resp.status_code == 200 data = resp.json() assert data["status"] == "ok"