diff --git a/tests/open_data_soft/test_ods_get_datasets.py b/tests/open_data_soft/test_ods_get_datasets.py index 2f10fd4..df3358a 100644 --- a/tests/open_data_soft/test_ods_get_datasets.py +++ b/tests/open_data_soft/test_ods_get_datasets.py @@ -1,16 +1,18 @@ import pytest +import requests + from HerdingCats.session.cat_session import CatSession from HerdingCats.explorer.cat_explore import OpenDataSoftCatExplorer -import requests +from HerdingCats.endpoints.api_endpoints import OpenDataSoftDataCatalogues from loguru import logger -CATALOGUES = ["https://ukpowernetworks.opendatasoft.com"] -@pytest.mark.parametrize("catalogue_url", CATALOGUES) -def test_package_list_dictionary(catalogue_url): + +def test_package_list_dictionary(): """ Test the package list functionality for predefined data catalogues... """ + catalogue_url = OpenDataSoftDataCatalogues.UK_POWER_NETWORKS with CatSession(catalogue_url) as cat_session: explorer = OpenDataSoftCatExplorer(cat_session) try: