

def test_get_next_run_time(jobstore, create_add_job, timezone):
    create_add_job(jobstore, dummy_job, datetime(2016, 5, 3))
    create_add_job(jobstore, dummy_job2, datetime(2014, 2, 26))
    create_add_job(jobstore, dummy_job3, datetime(2013, 8, 14))
    create_add_job(jobstore, dummy_job3, datetime(2013, 7, 11), paused=True)
    assert (jobstore.get_next_run_time() == timezone.localize(datetime(2013, 8, 14)))

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