Skip to content

Commit

Permalink
[#1277] fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kindly committed Nov 27, 2013
1 parent 7a09be8 commit fac853a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ckan/new_tests/logic/action/test_update.py
Expand Up @@ -372,11 +372,9 @@ def test_resource_reorder(self):
"http://a.html",
"http://b.html"]

reorder = {'id': dataset['id'], 'order':
[mapping["http://b.html"],
mapping["http://c.html"],
mapping["http://a.html"]]
}
reorder = {'id': dataset['id'], 'order': [mapping["http://b.html"],
mapping["http://c.html"],
mapping["http://a.html"]]}

helpers.call_action('package_resource_reorder', **reorder)
dataset = helpers.call_action('package_show', id=dataset['id'])
Expand Down

0 comments on commit fac853a

Please sign in to comment.