From 83032df57b3667d56f76a9f4d6b5f62b78cd2236 Mon Sep 17 00:00:00 2001 From: sethg Date: Thu, 6 Mar 2025 10:15:28 +0100 Subject: [PATCH] Check https://demo.pycsw.org/cite is online --- tests/test_ogcapi_records_pycsw.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_ogcapi_records_pycsw.py b/tests/test_ogcapi_records_pycsw.py index f89daccf..fea965bc 100644 --- a/tests/test_ogcapi_records_pycsw.py +++ b/tests/test_ogcapi_records_pycsw.py @@ -70,6 +70,8 @@ def test_ogcapi_records_pycsw(): @pytest.mark.online +@pytest.mark.skipif(not service_ok(SERVICE_URL), + reason='service is unreachable') @pytest.mark.parametrize("path, expected", [ ('collections/foo/1', 'https://demo.pycsw.org/cite/collections/foo/1'), ('collections/foo/https://example.org/11', 'https://demo.pycsw.org/cite/collections/foo/https://example.org/11') # noqa