Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions run_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Loading