From f057f21fe874f79088bdb9a372dd60db9b08ff97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Ayd=C4=B1n?= Date: Mon, 3 Aug 2026 20:03:18 +0300 Subject: [PATCH] test: shorten range to 89 days Reduced the window from 90 to 89 days. A full 90-day range hits the upper bound of what the API accepts --- run_checks.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/run_checks.py b/run_checks.py index b35075c6..685af723 100644 --- a/run_checks.py +++ b/run_checks.py @@ -35,7 +35,7 @@ def main() -> int: cfg = load_config() api = make_client(cfg) - start, end = create_range(90) + start, end = create_range(89) # FingerprintApi->search_events usage example try: @@ -96,14 +96,12 @@ def main() -> int: print("FingerprintApi.search_events: is empty for old events\n", file=sys.stderr) return 1 old_event_identification_data = search_events_response_old.events[0].products.identification.data - visitor_id_old = old_event_identification_data.visitor_id request_id_old = old_event_identification_data.request_id if request_id_old == request_id: print("Old events are identical to new\n", file=sys.stderr) return 1 - api.get_visits(visitor_id_old, limit=2) api.get_event(request_id_old) print("\n\n\nOld events are good\n") except ApiException as e: