from app.main import app def test_health(): c = app.test_client() assert c.get("/health").status_code == 200 def test_version(): c = app.test_client() assert c.get("/version").get_json()["app"] == "hello-api"