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 Dec 4, 2018
1 parent f3ca6d5 commit 7e4d2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/tests/test_search.py
Expand Up @@ -296,7 +296,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 7e4d2dd

Please sign in to comment.