- exp.lib_set('ProcessStep', [exp.procstep_as_dict(1, 1, 2, None),
- exp.procstep_as_dict(2, 2, 3, None),
- exp.procstep_as_dict(3, 3, 4, None)])
- step3_proc4 = exp.step_as_dict(3, [], 4)
- step2_proc3 = exp.step_as_dict(2, [step3_proc4], 3)
- step1_proc2 = exp.step_as_dict(1, [step2_proc3], 2, fillable=True)
- exp.set('steps_todo_to_process', [step1_proc2])
+ exp.lib_set('ProcessStep', [
+ exp.procstep_as_dict(1, owner_id=1, step_process_id=2),
+ exp.procstep_as_dict(2, owner_id=2, step_process_id=3),
+ exp.procstep_as_dict(3, owner_id=3, step_process_id=4)])
+ slots = [exp.step_as_dict(
+ node_id=1, process=2, todo=None, fillable=True,
+ children=[exp.step_as_dict(
+ node_id=2, process=3, todo=None, fillable=False,
+ children=[exp.step_as_dict(
+ node_id=3, process=4, todo=None, fillable=False)])])]
+ exp.set('steps_todo_to_process', slots)