575
575
# validate the test setup
578
578
self.assertFileEqual('baz', 'tree/foo/bar')
579
579
with open('shelf', 'r+b') as shelf_file:
580
580
unshelver = shelf.Unshelver.from_tree_and_shelf(tree, shelf_file)
581
581
self.addCleanup(unshelver.finalize)
582
582
unshelver.make_merger().do_merge()
586
586
def test_unshelve_base(self):
587
587
tree = self.make_branch_and_tree('tree')