From fc7e0a9ebb0ea4ab6019fc2c8ef926ca770d5d9e Mon Sep 17 00:00:00 2001 From: James B Date: Tue, 22 Jul 2025 08:57:27 +0100 Subject: [PATCH] tests - change test data to proper example data From https://github.com/OpenDataServices/oc4ids-datastore-api/pull/10#pullrequestreview-3028495305 --- tests/test_services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_services.py b/tests/test_services.py index 678b9d3..c6cf1af 100644 --- a/tests/test_services.py +++ b/tests/test_services.py @@ -20,7 +20,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None: license_url="https://license.com", license_title="License", license_title_short="L", - portal_url="https://portal.com", + portal_url="http://portal.example.com", portal_title="Portal", json_url="https://downloads/test_dataset.json", csv_url="https://downloads/test_dataset.csv", @@ -36,7 +36,7 @@ def test_get_all_datasets(mocker: MockerFixture) -> None: source_url="https://test-dataset.json", publisher=Publisher(name="test_publisher", country="ab"), license=License(title="License", title_short="L", url="https://license.com"), - portal=Portal(title="Portal", url="https://portal.com"), + portal=Portal(title="Portal", url="http://portal.example.com"), downloads=[ Download(format="json", url="https://downloads/test_dataset.json"), Download(format="csv", url="https://downloads/test_dataset.csv"),