

def test_create_job_with_description(self):
    '\n        Ensure that description is passed to RQ.\n        '
    job = self.scheduler._create_job(say_hello, description='description', args=(), kwargs={
        
    })
    job_from_queue = Job.fetch(job_from_queue.id, connection=self.testconn)
    self.assertEqual('description', job_from_queue.description)

dataset/ETHPy150Open ui/rq-scheduler/tests/test_scheduler.py TestScheduler.test_create_job_with_description/VarMisuse@45/80 `job`->`job_from_queue`