Skip to content

Commit

Permalink
[#2939] Fix api group delete test issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 10, 2012
1 parent 42ec232 commit b4baa7e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ckan/tests/functional/api/model/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,11 @@ def test_11_delete_group(self):
assert group
assert group.state == 'deleted', group.state

res = self.app.get(offset, status=[403])
self.assert_json_response(res, 'Access denied')
# Anyone can see groups especially sysadmins
# maybe we want to do something different with
# deleted groups but that would be a new requirement
#res = self.app.get(offset, status=[403])
#self.assert_json_response(res, 'Access denied')
res = self.app.get(offset, status=[200],
extra_environ=self.admin_extra_environ)
res = self.set_env(self.extra_environ)
Expand Down

0 comments on commit b4baa7e

Please sign in to comment.