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