Skip to content

Commit

Permalink
[#2939] Fix tests in tests/functional/test_upload.p
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 12, 2012
1 parent 0a1ec62 commit 2b19fcf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ckan/tests/functional/test_upload.py
Expand Up @@ -21,13 +21,6 @@ def teardown_class(cls):
model.Session.remove()
model.repo.rebuild_db()

def test_02_authorization(self):
from ckan.model.authz import Action
import ckan.model as model
import ckan.authz as authz

is_authorized = authz.Authorizer.is_authorized(u'tester', Action.UPLOAD_ACTION, model.System())
assert is_authorized

def test_03_authorization_wui(self):
url = url_for('storage_upload')
Expand Down

0 comments on commit 2b19fcf

Please sign in to comment.