

def test_periodic_job_sets_description(self):
    '\n        Ensure that description is passed to RQ by schedule.\n        '
    job = self.scheduler.schedule(datetime.utcnow(), say_hello, interval=5, description='description')
    job_from_queue = Job.fetch(job.id, connection=self.testconn)
    self.assertEqual('description', job.description)

dataset/ETHPy150Open ui/rq-scheduler/tests/test_scheduler.py TestScheduler.test_periodic_job_sets_description/original