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']
def test_show_job(): with _no_schedule_instance_job(): show_job('pikachu')