"""Health-check smoke test for ows-carveouts-python. `/hello/` is an unauthenticated, read-only endpoint, so it is safe against any environment and needs no test data. """ import pytest import requests from tests.integration.consts import api from tests.integration.utils import assert_ok @pytest.mark.smoke def test_get_hello() -> None: """The health-check endpoint reports an ok status.""" response = assert_ok(requests.get(api.HEALTH_CHECK, timeout=api.REQUEST_TIMEOUT)) response_body = response.json() assert response_body.get("status") == "ok"