

def test_add_job_conflicting_id(jobstore, create_add_job):
    create_add_job(jobstore, dummy_job, datetime(2016, 5, 3), id='blah')
    pytest.raises(ConflictingIdError, create_add_job, jobstore, dummy_job2, datetime(2014, 2, 26), id='blah')

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