Fix comment.

main
Vincent Driessen 12 years ago
parent 95d3aed98e
commit 5e80aa27eb

@ -207,7 +207,8 @@ class TestJob(RQTestCase):
# Executing the job function from outside of RQ throws an exception # Executing the job function from outside of RQ throws an exception
self.assertIsNone(get_current_job()) self.assertIsNone(get_current_job())
# Executing the job function from outside of RQ throws an exception # Executing the job function from within the job works (and in
# this case leads to the job ID being returned)
job = Job.create(func=access_self) job = Job.create(func=access_self)
job.save() job.save()
id = job.perform() id = job.perform()

Loading…
Cancel
Save