Skip to content

Commit fe4285c

Browse files
author
Tobias Hauth
committed
fix naming
1 parent f50b7da commit fe4285c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

swiftype/test_swiftype.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_search_with_options(self):
107107
def test_search_document_type(self):
108108
self.__is_expected_search_result(self.client.search_document_type, 1, [self.document_type])
109109

110-
def test_search_document_type(self):
110+
def test_search_document_type_with_options(self):
111111
response = self.client.search_document_type(self.engine, self.document_type, "query", {'page': 2})
112112
self.assertEqual(len(response['body']['records']), 1)
113113

@@ -149,8 +149,8 @@ def test_analytics_top_queries(self):
149149
top_queries = self.client.analytics_top_queries(self.engine)['body']
150150
self.assertTrue(len(top_queries) == 2)
151151

152-
def test_analytics_top_queries(self):
153-
top_queries = self.client.analytics_top_queries(self.engine, '2013-01-01', '2013-02-01')['body']
152+
def test_analytics_top_queries_pagination(self):
153+
top_queries = self.client.analytics_top_queries(self.engine, 2, 10)['body']
154154
self.assertTrue(len(top_queries) == 0)
155155

156156
def test_domains(self):

0 commit comments

Comments
 (0)