print "--SELFTEST-- loading test" def step_init(): job.next_step([step_two]) print "--STEPTEST-- step_init called" def step_two(): job.next_step([step_three]) print "--STEPTEST-- step_two called" def step_three(): print "--STEPTEST-- step_three called"