Skip to content

Commit 5fe60d0

Browse files
committed
test: add search events call to functional tests
1 parent 95d6661 commit 5fe60d0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

run_checks.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,18 @@
3131
events_response = api_instance.get_event(request_id)
3232
print("\n\n\nEvent response: \n", events_response.products)
3333

34-
3534
except ApiException as e:
3635
print("Exception when calling DefaultApi->get_event: %s\n" % e)
3736
exit(1)
3837

38+
try:
39+
search_events_response = api_instance.search_events(2, bot="bad")
40+
print("\n\n\nSearch events response: \n", search_events_response)
41+
42+
except ApiException as e:
43+
print("Exception when calling DefaultApi->search_events: %s\n" % e)
44+
exit(1)
45+
3946
# Async methods examples
4047
try:
4148
visits_response_request = api_instance.get_visits(visitor_id, limit=2, async_req=True)

0 commit comments

Comments
 (0)