Skip to content

Commit

Permalink
Improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jul 1, 2019
1 parent 65ea712 commit c1ff36c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ckan/tests/legacy/lib/test_solr_search_index.py
Expand Up @@ -51,8 +51,6 @@ def test_0_indexing(self):

def test_1_basic(self):
results = self.solr.search(q='sweden', fq=self.fq)
assert len(results) == 2
result_names = [r['name'] for r in results]
assert 'se-publications' in result_names
assert 'se-opengov' in result_names
result_names = sorted([r['name'] for r in results])

assert_equal([u'se-opengov', u'se-publications'], result_names)

0 comments on commit c1ff36c

Please sign in to comment.