Skip to content

Commit

Permalink
test: fixed fault opendatasoft test [2024-12-03]
Browse files Browse the repository at this point in the history
  • Loading branch information
CHRISCARLON committed Dec 3, 2024
1 parent 216272e commit 00336a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/open_data_soft/test_ods_get_datasets.py
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 00336a1

Please sign in to comment.