

def test_job_not_persisted_if_commit_false(self):
    '\n        Ensure jobs are only saved to Redis if commit=True.\n        '
    job = self.scheduler._create_job(say_hello, commit=False)
    self.assertEqual(self.testconn.hgetall(job.key), {
        
    })

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