"""M0 smoke test: the /api/v1/health endpoint returns 200 and the expected payload.""" from __future__ import annotations from app.main import app def test_health_returns_ok(): client = app.test_client() resp = client.get("/api/v1/health") assert resp.status_code == 200 body = resp.get_json() assert body["status"] == "ok" assert "version" in body