def test_job_not_persisted_if_commit_false(self):
        job = self.scheduler._create_job(say_hello, commit=False)
        self.assertEqual(self.testconn.hgetall(job.key), {})
Ensure jobs are only saved to Redis if commit=True.
dataset/ETHPy150Open ui/rq-scheduler/tests/test_scheduler.py/TestScheduler.test_job_not_persisted_if_commit_false