diff --git a/tests/test_working_queue.py b/tests/test_job_started_registry.py similarity index 98% rename from tests/test_working_queue.py rename to tests/test_job_started_registry.py index 9830f22..e8241b5 100644 --- a/tests/test_working_queue.py +++ b/tests/test_job_started_registry.py @@ -25,7 +25,7 @@ class TestQueue(RQTestCase): # Test that job is added with the right score self.registry.add(job, 1000) self.assertLess(self.testconn.zscore(self.registry.key, job.id), - timestamp + 1001) + timestamp + 1002) # Ensure that job is properly removed from sorted set self.registry.remove(job)