(self)
| 128 | self.assertEqual(order, ["Root", "A", "A1", "A2", "B"]) |
| 129 | |
| 130 | def test_find_path_root(self): |
| 131 | tree = _make_tree() |
| 132 | path = tree.find_path(tree.root_node_id) |
| 133 | self.assertEqual([n.title for n in path], ["Root"]) |
| 134 | |
| 135 | def test_find_path_leaf(self): |
| 136 | tree = _make_tree() |
nothing calls this directly
no test coverage detected