Exemple #1
0
def test_update_job():
    with _no_schedule_instance_job():

        original = show_job('pikachu')
        _update_job('pikachu', 'tests/data/metronome/jobs/update-pikachu.json')

        result = show_job('pikachu')
        assert original['run']['cmd'] != result['run']['cmd']
Exemple #2
0
def test_show_job():
    with _no_schedule_instance_job():
        show_job('pikachu')