Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_queue_worker: Use integer epoch values.
Alex Vandiverfad3510767c3
diff --git a/zerver/tests/test_queue_worker.py b/zerver/tests/test_queue_worker.pyindex 235a61d028a..5e9f03dca8a 100644--- a/zerver/tests/test_queue_worker.py+++ b/zerver/tests/test_queue_worker.py@@ -90,7 +90,7 @@ class WorkerTest(ZulipTestCase):).delete()# Enqueue two events for the same user/client/query- now = time.time()+ now = datetime(year=2024, month=1, day=1, tzinfo=timezone.utc).timestamp()for event_time in [now, now + 10]:fake_client.enqueue("user_activity",