- node_cond_2 = TodoStepsNode(self.cond2, False, [], False)
- node_todo_2 = TodoStepsNode(todo_2, True,
- [node_todo_3, node_cond_2], False)
- tree_expected = TodoStepsNode(todo_1, True,
- [node_todo_2, node_todo_4, node_cond_1],
- False)
- self.assertEqual(todo_1.get_step_tree(set(), set()), tree_expected)
+ node_6 = TodoStepsNode(self.cond2, False, [], False)
+ node_2.children += [node_6]
+ self.assertEqual(todo_1.get_step_tree(set(), set()), node_0)