From 5e80aa27ebb3ad5770266209cfe115294db137f7 Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Sun, 2 Sep 2012 23:10:35 +0200 Subject: [PATCH] Fix comment. --- tests/test_job.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_job.py b/tests/test_job.py index f75d878..7216f22 100644 --- a/tests/test_job.py +++ b/tests/test_job.py @@ -207,7 +207,8 @@ class TestJob(RQTestCase): # Executing the job function from outside of RQ throws an exception 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.save() id = job.perform()