(self)
| 117 | self.assertIsNone(root.parent_id) |
| 118 | |
| 119 | def test_children_of(self): |
| 120 | tree = _make_tree() |
| 121 | children = tree.children_of(tree.root_node_id) |
| 122 | titles = [c.title for c in children] |
| 123 | self.assertEqual(titles, ["A", "B"]) |
| 124 | |
| 125 | def test_walk_dfs_order(self): |
| 126 | tree = _make_tree() |
nothing calls this directly
no test coverage detected