mirror of https://github.com/rq/rq.git
Added better job ID tests
This commit is contained in:
parent
6bb8b26114
commit
05c1d4fa4b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue