From 09e3dbf50fd80982d9cc0f5a441aadc6c8c9661c Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 2 May 2024 06:54:47 +0200 Subject: [PATCH] Reinstate formerly disabled test. --- tests/todos.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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.""" -- 2.30.2