Skip to content

Commit

Permalink
[#262] Fix test due to json lib change
Browse files Browse the repository at this point in the history
  • Loading branch information
johnglover committed Mar 12, 2013
1 parent 2ee72da commit e451472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/tests/logic/test_action.py
Expand Up @@ -1247,7 +1247,7 @@ def test_3_bad_param(self):
res = self.app.post('/api/action/package_search', params=postparams,
status=400)
assert '"message": "Search Query is invalid:' in res.body, res.body
assert '"Invalid search parameters: [u\'weird_param\']' in res.body, res.body
assert '"Invalid search parameters: [\'weird_param\']' in res.body, res.body

def test_4_sort_by_metadata_modified(self):
search_params = '%s=1' % json.dumps({
Expand Down

0 comments on commit e451472

Please sign in to comment.