diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c027ed4..bfb8c45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,4 +102,4 @@ jobs: - name: run ci run: | - pytest -v --capture=no --ckan-ini=subdir/test-github-actions.ini ckanext/spatial/tests + pytest --ckan-ini=subdir/test-github-actions.ini ckanext/spatial/tests diff --git a/ckanext/spatial/tests/functional/test_package.py b/ckanext/spatial/tests/functional/test_package.py index 1d43826..cf86ea7 100644 --- a/ckanext/spatial/tests/functional/test_package.py +++ b/ckanext/spatial/tests/functional/test_package.py @@ -11,7 +11,7 @@ from ckanext.spatial.model import PackageExtent from ckanext.spatial.tests.base import SpatialTestBase -@pytest.mark.usefixtures("with_plugins", "clean_db") +@pytest.mark.usefixtures('with_plugins', 'clean_db', 'clean_index', 'harvest_setup') class TestSpatialExtra(SpatialTestBase): def test_spatial_extra_base(self, app): diff --git a/ckanext/spatial/tests/model/test_package_extent.py b/ckanext/spatial/tests/model/test_package_extent.py index 58fdb48..64d24a1 100644 --- a/ckanext/spatial/tests/model/test_package_extent.py +++ b/ckanext/spatial/tests/model/test_package_extent.py @@ -12,7 +12,7 @@ from ckanext.spatial.geoalchemy_common import WKTElement, legacy_geoalchemy from ckanext.spatial.tests.base import SpatialTestBase -@pytest.mark.usefixtures("with_plugins", "clean_db") +@pytest.mark.usefixtures('with_plugins', 'clean_db', 'clean_index', 'harvest_setup') class TestPackageExtent(SpatialTestBase): def test_create_extent(self):