We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8adf705 + f5e591f commit 2507e28Copy full SHA for 2507e28
tests/test.py
@@ -98,13 +98,14 @@ def test_susi(self):
98
99
def test_search(self):
100
"""test search result"""
101
- result = self.loklak.search('doctor who')
+ result = self.loklak.search('doctor who', count=18)
102
self.assertTrue('error' in self.loklak.search())
103
self.assertTrue('statuses' in result)
104
self.assertTrue(isinstance(result['statuses'], list))
105
self.assertTrue(len(result['statuses']) >= 1)
106
self.assertEqual(len(result['statuses']),
107
int(result['search_metadata']['count']))
108
+ self.assertEqual(int(result['search_metadata']['count']), 18)
109
110
def test_aggregations(self):
111
"""test aggregations"""
0 commit comments