From 1a48578ae60f562a5d41e2151196c8269e48f11d Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Mon, 22 Jan 2024 15:50:14 -0500 Subject: [PATCH] test(events): test timestamp is int --- tests/test_events.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_events.py b/tests/test_events.py index 7185c65..129ea3d 100644 --- a/tests/test_events.py +++ b/tests/test_events.py @@ -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()