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