96
96
branch = self.make_branch('branch')
97
97
tree = MemoryTree.create_on_branch(branch)
99
tree.add(['', 'afile', 'adir'], None,
99
tree.add(['', 'afile', 'adir'], None,
100
100
['directory', 'file', 'directory'])
101
101
self.assertEqual('afile', tree.id2path(tree.path2id('afile')))
102
102
self.assertEqual('adir', tree.id2path(tree.path2id('adir')))