From b4b611f23708d13da5c34c0f9af58754ee9d461a Mon Sep 17 00:00:00 2001 From: Chris Carlon Date: Wed, 27 Nov 2024 21:47:12 +0000 Subject: [PATCH] test(tests): bug fix [2024-11-27] --- .github/workflows/herding_cats_explorer_tests.yml | 3 ++- tests/open_data_soft/test_ods_get_datasets.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/herding_cats_explorer_tests.yml b/.github/workflows/herding_cats_explorer_tests.yml index bf41a63..ad54733 100644 --- a/.github/workflows/herding_cats_explorer_tests.yml +++ b/.github/workflows/herding_cats_explorer_tests.yml @@ -31,6 +31,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + python -m pip install pytest-cov poetry install --no-interaction - name: Create pytest.ini @@ -40,7 +41,7 @@ jobs: - name: Run tests with coverage run: | - poetry run pytest tests/ --cov=./ --cov-report=xml + pytest tests/ --cov=./ --cov-report=xml - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 diff --git a/tests/open_data_soft/test_ods_get_datasets.py b/tests/open_data_soft/test_ods_get_datasets.py index 4ad0f8d..2f10fd4 100644 --- a/tests/open_data_soft/test_ods_get_datasets.py +++ b/tests/open_data_soft/test_ods_get_datasets.py @@ -9,7 +9,7 @@ @pytest.mark.parametrize("catalogue_url", CATALOGUES) def test_package_list_dictionary(catalogue_url): """ - Test the package list functionality for predefined data catalogues + Test the package list functionality for predefined data catalogues... """ with CatSession(catalogue_url) as cat_session: explorer = OpenDataSoftCatExplorer(cat_session)