122
113
root_id = tree.get_root_id()
124
115
self.assertTreeLayout([('', root_id), ('a', 'a-id'), ('b', 'b-id'),
125
('dir', 'dir-id'), ('dir/subdir', 'subdir-id'),
116
('dir/', 'dir-id'), ('dir/subdir/', 'subdir-id'),
126
117
('dir/subdir/foo', 'foo-id')], tree)
128
119
def test_add_invalid(self):