diff --git a/ckanext/datastore/tests/test_chained_auth_functions.py b/ckanext/datastore/tests/test_chained_auth_functions.py index d5b9764f989..9b9fab27e07 100644 --- a/ckanext/datastore/tests/test_chained_auth_functions.py +++ b/ckanext/datastore/tests/test_chained_auth_functions.py @@ -70,4 +70,6 @@ def test_chain_core_auth_functions(self): assert_equals(raise_context.exception.message, user_list_message) # check that the 'auth failed' msg doesn't fail because it's a partial assert_raises(NotAuthorized, - lambda: check_access(u'user_list', {}, {})) + lambda: check_access(u'user_list', + {u'ignore_auth': False, + u'user': u'not_a_real_user'}, {}))