Skip to content

Commit

Permalink
Coding Standards pep8 fixes to coding standards - the irony
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 24, 2013
1 parent c4e0d5f commit f436922
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ckan/tests/test_coding_standards.py
Expand Up @@ -833,12 +833,12 @@ class TestActionAuth(object):
that each auth function has an action. We check the function only
accepts (context, data_dict) as parameters. '''

ACTION_FN_SIGNATURES_BLACKLIST= [
ACTION_FN_SIGNATURES_BLACKLIST = [
'create: activity_create',
'create: tag_create',
]

ACTION_NO_AUTH_BLACKLIST= [
ACTION_NO_AUTH_BLACKLIST = [
'create: follow_dataset',
'create: follow_group',
'create: follow_user',
Expand Down Expand Up @@ -888,7 +888,7 @@ class TestActionAuth(object):
'update: user_role_update',
]

AUTH_NO_ACTION_BLACKLIST= [
AUTH_NO_ACTION_BLACKLIST = [
'create: file_upload',
'delete: revision_delete',
'delete: revision_undelete',
Expand All @@ -901,8 +901,7 @@ class TestActionAuth(object):
'update: revision_change_state',
]


ACTION_NO_DOC_STR_BLACKLIST= [
ACTION_NO_DOC_STR_BLACKLIST = [
'create: group_create_rest',
'create: group_member_create',
'create: organization_member_create',
Expand Down

0 comments on commit f436922

Please sign in to comment.