Skip to content

Commit

Permalink
[#1905] Allow search on resource name field.
Browse files Browse the repository at this point in the history
Changed 'assert' to 'eq' to make test pass okay.
  • Loading branch information
george committed Nov 12, 2014
1 parent 1c30fd3 commit 31c0818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/new_tests/logic/action/test_get.py
Expand Up @@ -577,7 +577,7 @@ def test_package_search_on_resource_name(self):
package = factories.Resource(name=resource_name)

search_result = helpers.call_action('package_search', q='resource_abc')
assert(search_result['results'][0]['resources'][0]['name'] == resource_name)
eq(search_result['results'][0]['resources'][0]['name'], resource_name)


class TestBadLimitQueryParameters(object):
Expand Down

0 comments on commit 31c0818

Please sign in to comment.