"""The /health version must track the release, not a stale literal. terra-view's SFM Admin page displays whatever `/health` reports. It was hardcoded to "0.1.0" and never bumped, so the page showed 0.1.0 while the service was actually 0.26.0. These guard against that regression — and run without httpx (they call the endpoint function directly, no TestClient). """ from minimateplus.event_file_io import TOOL_VERSION from sfm.server import app, health def test_health_reports_current_tool_version(): assert health()["version"] == TOOL_VERSION def test_openapi_version_matches_tool_version(): assert app.version == TOOL_VERSION