From 2e84d38ad2b5e8a90d1cea74f9169e47952fa2e0 Mon Sep 17 00:00:00 2001 From: Joohwan Oh Date: Tue, 9 Feb 2021 02:00:52 -0800 Subject: [PATCH] Fix bug in enqueue unit test --- tests/test_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_queue.py b/tests/test_queue.py index 1bcdda8..3614408 100644 --- a/tests/test_queue.py +++ b/tests/test_queue.py @@ -112,7 +112,7 @@ def test_queue_enqueue_job_fully_populated(func, queue, topic, log): job = queue.enqueue(job) assert isinstance(job, Job) assert job.id == job_id - assert job.timestamp == timestamp + assert job.timestamp >= timestamp assert job.topic == topic assert job.func == func assert job.args == (0,)