from fastapi.testclient import TestClient

from zbt.main import app


def test_live_health_reports_project_identity() -> None:
    response = TestClient(app).get("/api/v1/system/health/live")

    assert response.status_code == 200
    assert response.json()["data"] == {
        "status": "alive",
        "project": "智保通",
        "stage": "s1",
    }
    assert response.json()["meta"]["request_id"]
