Skip to content

Commit

Permalink
test(events): test timestamp is int
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 22, 2024
1 parent 0327185 commit 1a48578
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def handle_service_event(message):
assert event["data"] == TEST_EVENT_BODY
assert event["id"]
assert event["ts"]
assert isinstance(event["timestamp"], int)

event_bus.add_handler(bento_lib.events.ALL_SERVICE_EVENTS, handle_service_event)
event_bus.start_event_loop()
Expand Down

0 comments on commit 1a48578

Please sign in to comment.