From 05c1d4fa4b7cee4966ae404099d57a08d4bfef1f Mon Sep 17 00:00:00 2001 From: foxx Date: Fri, 5 Sep 2014 15:23:48 +0100 Subject: [PATCH] Added better job ID tests --- tests/test_job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_job.py b/tests/test_job.py index 1184b8d..1a0ab6e 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -347,4 +347,5 @@ class TestJob(RQTestCase): ids = [1234, uuid4(), "somejobid"] for job_id in ids: job = queue.enqueue(say_hello, job_id=job_id) + self.assertEqual(job.id, str(job_id)) job.perform()