no need for that save anymore

main
Travis Johnson 10 years ago
parent af4b0436c1
commit b14f739dfe

@ -355,8 +355,6 @@ class TestQueue(RQTestCase):
def test_enqueue_job_with_dependency_by_id(self): def test_enqueue_job_with_dependency_by_id(self):
"""Enqueueing jobs should work as expected by id as well as job-objects.""" """Enqueueing jobs should work as expected by id as well as job-objects."""
parent_job = Job.create(func=say_hello) parent_job = Job.create(func=say_hello)
# We need to save the job for the ID to exist in redis
parent_job.save()
q = Queue() q = Queue()
q.enqueue_call(say_hello, depends_on=parent_job.id) q.enqueue_call(say_hello, depends_on=parent_job.id)

Loading…
Cancel
Save