WIP: test: use harvest_setup

This commit is contained in:
Taro Matsuzawa 2021-01-07 11:52:46 +09:00
parent 26286fa385
commit 4cca5822e3
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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):

View File

@ -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):