home · contact · privacy
Reinstate formerly disabled test.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 2 May 2024 04:54:47 +0000 (06:54 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 2 May 2024 04:54:47 +0000 (06:54 +0200)
tests/todos.py

index d8cb3ff15339d6cd3a4deb0ec1c82389462133a5..a5dafd1a8f2b17e58dbc4006f8d6ad54d7bc9b85 100644 (file)
@@ -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."""