Skip to content

Commit

Permalink
[#4236] datastore_search: distinct=true total fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi authored and tino097 committed Nov 29, 2018
1 parent dd4af37 commit 625945b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def test_search_distinct(self):
res_dict = json.loads(res.body)
assert res_dict['success'] is True
result = res_dict['result']
assert result['total'] == 2
assert result['total'] == 1
assert result['records'] == [{u'author': 'tolstoy'}], result['records']

def test_search_filters(self):
Expand Down

0 comments on commit 625945b

Please sign in to comment.