包含本地/远程部署脚本、AI Agent 服务、Dashboard 与 QA 验证。 Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
198 B
Python
9 lines
198 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_healthz_returns_ok(client):
|
|
resp = await client.get("/healthz")
|
|
assert resp.status_code == 200
|
|
assert resp.json() == {"status": "ok"}
|