Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Sep 24, 2019
1 parent 9579744 commit cec4815
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckanext/datapusher/tests/test_controller.py
Expand Up @@ -3,22 +3,22 @@
import nose

import ckan.tests.legacy as tests
from ckan.tests.helpers import FunctionalTestBase
from ckanext.datastore.tests.helpers import DatastoreFunctionalTestBase
import ckan.tests.factories as factories


class TestController(FunctionalTestBase):
class TestController(DatastoreFunctionalTestBase):
sysadmin_user = None
normal_user = None

_load_plugins = [u'datastore', u'datapusher']

@classmethod
def setup_class(cls):
cls.app = cls._get_test_app()
if not tests.is_datastore_supported():
raise nose.SkipTest(u'Datastore not supported')
super(TestController, cls).setup_class()
cls.app = cls._get_test_app()

def test_resource_data(self):
user = factories.User()
Expand Down
1 change: 1 addition & 0 deletions ckanext/datastore/tests/test_dictionary.py
Expand Up @@ -6,6 +6,7 @@


class TestDatastoreDictionary(DatastoreFunctionalTestBase):
_load_plugins = (u'datastore', u'datapusher')

@classmethod
def setup_class(cls):
Expand Down

0 comments on commit cec4815

Please sign in to comment.