From: Christian Heller Date: Thu, 2 May 2024 04:54:47 +0000 (+0200) Subject: Reinstate formerly disabled test. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/todos?a=commitdiff_plain;h=09e3dbf50fd80982d9cc0f5a441aadc6c8c9661c;p=plomtask Reinstate formerly disabled test. --- diff --git a/tests/todos.py b/tests/todos.py index d8cb3ff..a5dafd1 100644 --- a/tests/todos.py +++ b/tests/todos.py @@ -206,10 +206,8 @@ class TestsWithDB(TestCaseWithDB): 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."""