@@ -724,20 +724,21 @@ def test_search_events_all_params(self):
724
724
def test_search_events_partial_params (self ):
725
725
"""Test that search events returns 200 with partial params provided"""
726
726
LIMIT = 100
727
+ PAGINATION_KEY = '1741187431959'
727
728
BOT = 'good'
728
729
LINKED_ID = 'some_linked_id'
729
730
START = 1582299576511
730
731
REVERSE = True
731
732
mock_pool = MockPoolManager (self )
732
733
self .api .api_client .rest_client .pool_manager = mock_pool
733
734
mock_pool .expect_request ('GET' , TestFingerprintApi .get_search_events_path (),
734
- fields = [self .integration_info , ('limit' , LIMIT ),
735
+ fields = [self .integration_info , ('limit' , LIMIT ), ( 'pagination_key' , PAGINATION_KEY ),
735
736
('visitor_id' , MOCK_SEARCH_EVENTS_200 ), ('bot' , BOT ),
736
737
('linked_id' , LINKED_ID ), ('start' , START ), ('reverse' , REVERSE )],
737
738
headers = self .request_headers , preload_content = True , timeout = None )
738
739
739
740
response = self .api .search_events (LIMIT , visitor_id = MOCK_SEARCH_EVENTS_200 , bot = BOT , linked_id = LINKED_ID ,
740
- start = START , reverse = REVERSE )
741
+ start = START , reverse = REVERSE , pagination_key = PAGINATION_KEY )
741
742
self .assertIsInstance (response , SearchEventsResponse )
742
743
event_response = response .events [0 ]
743
744
self .assertIsInstance (event_response , SearchEventsResponseEvents )
0 commit comments