Added better job ID tests

This commit is contained in:
foxx 2014-09-05 15:23:48 +01:00
parent 6bb8b26114
commit 05c1d4fa4b
1 changed files with 1 additions and 0 deletions

View File

@ -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()