Skip to content

Commit

Permalink
[#2534] Fix pep8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
brew committed Jul 15, 2015
1 parent 6ab2358 commit 93ba10b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ckan/tests/controllers/test_group.py
Expand Up @@ -194,7 +194,8 @@ def test_membership_list(self):
user_names = [u.string for u in
member_response_html.select('#member-table td.media a')]
roles = [r.next_sibling.next_sibling.string
for r in member_response_html.select('#member-table td.media')]
for r
in member_response_html.select('#member-table td.media')]

user_roles = dict(zip(user_names, roles))

Expand Down Expand Up @@ -222,7 +223,7 @@ def test_membership_add(self):
user_names = [u.string for u in
add_response_html.select('#member-table td.media a')]
roles = [r.next_sibling.next_sibling.string
for r in add_response_html.select('#member-table td.media')]
for r in add_response_html.select('#member-table td.media')]

user_roles = dict(zip(user_names, roles))

Expand Down Expand Up @@ -251,7 +252,7 @@ def test_admin_add(self):
user_names = [u.string for u in
add_response_html.select('#member-table td.media a')]
roles = [r.next_sibling.next_sibling.string
for r in add_response_html.select('#member-table td.media')]
for r in add_response_html.select('#member-table td.media')]

user_roles = dict(zip(user_names, roles))

Expand Down Expand Up @@ -285,7 +286,8 @@ def test_remove_member(self):
user_names = [u.string for u in
remove_response_html.select('#member-table td.media a')]
roles = [r.next_sibling.next_sibling.string
for r in remove_response_html.select('#member-table td.media')]
for r in
remove_response_html.select('#member-table td.media')]

user_roles = dict(zip(user_names, roles))

Expand Down

0 comments on commit 93ba10b

Please sign in to comment.