

def test_update_job_nonexistent_job(jobstore, create_add_job):
    job = create_add_job(None, dummy_job, datetime(2016, 5, 3))
    pytest.raises(JobLookupError, jobstore.update_job, job)

dataset/ETHPy150Open agronholm/apscheduler/tests/test_jobstores.py test_update_job_nonexistent_job/original