self.assertEqual(todo_1.get_step_tree(set(), set()), node_0)
# test second condition is hidden if fulfilled by sibling
todo_3.set_enables(self.db_conn, [self.cond2.id_])
- # fails because somehow we compare a Todo against a Condition;
- # but leave it for now as we're gonna re-write everything anyways today
- # node_2.children.remove(node_6)
- # self.assertEqual(todo_1.get_step_tree(set(), set()), node_0)
+ node_2.children.remove(node_6)
+ self.assertEqual(todo_1.get_step_tree(set(), set()), node_0)
def test_Todo_unsatisfied_steps(self) -> None:
"""Test options of satisfying unfulfilled Process.explicit_steps."""