Skip to content

Commit

Permalink
[#956] remove incorrect name test
Browse files Browse the repository at this point in the history
This test is not testing what it think it is. It returns four results
with 'gov' as a tag instead of names containing gov. Removing
  • Loading branch information
joetsoi committed Aug 22, 2013
1 parent 682e6bc commit dfbec46
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ckan/tests/lib/test_solr_package_search.py
Expand Up @@ -79,11 +79,6 @@ def test_1_name(self):
assert result['count'] == 1, result
assert self._pkg_names(result) == 'gils', result

def test_1_name_multiple_results(self):
result = search.query_for(model.Package).run({'q': u'gov'})
assert self._check_entity_names(result, ('us-gov-images', 'usa-courts-gov')), self._pkg_names(result)
assert result['count'] == 4, self._pkg_names(result)

def test_1_name_token(self):
result = search.query_for(model.Package).run({'q': u'name:gils'})
assert self._pkg_names(result) == 'gils', self._pkg_names(result)
Expand Down

0 comments on commit dfbec46

Please sign in to comment.