

def test_crontab_sets_id(self):
    '\n        Ensure that a job scheduled via crontab can be created with\n        a custom id\n        '
    job_id = 'hello-job-id'
    job = self.scheduler.cron('1 * * * *', say_hello, id=job_id)
    job_from_queue = Job.fetch(job.id, connection=self.testconn)
    self.assertEqual(job_from_queue, job_from_queue.id)

dataset/ETHPy150Open ui/rq-scheduler/tests/test_scheduler.py TestScheduler.test_crontab_sets_id/VarMisuse@54/123 `job_id`->`job_from_queue`