Skip to content

Commit

Permalink
[#1210] Yet more tests fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Aug 27, 2013
1 parent ffbf901 commit 9488125
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ckan/tests/logic/test_init.py
Expand Up @@ -3,7 +3,7 @@
import ckan.model as model
import ckan.logic as logic

from ckan.lib import create_test_data
import ckan.lib.create_test_data as create_test_data


class TestMemberLogic(object):
Expand All @@ -24,8 +24,7 @@ def setup_class(cls):

@classmethod
def teardown_class(cls):
model.Session.close_all()
model.repo.delete_all()
model.repo.rebuild_db()

def setup(self):
model.repo.rebuild_db()
Expand Down
1 change: 1 addition & 0 deletions ckanext/datastore/logic/auth.py
Expand Up @@ -30,6 +30,7 @@ def datastore_delete(context, data_dict):
return _datastore_auth(context, data_dict)


@p.toolkit.auth_allow_anonymous_access
def datastore_search(context, data_dict):
return _datastore_auth(context, data_dict, 'resource_show')

Expand Down

0 comments on commit 9488125

Please sign in to comment.