83
83
branch = Branch.initialize(u'.')
84
84
tree = WorkingTree(branch.base, branch)
85
85
self.assertEqual(branch, tree.branch)
88
88
def test_construct_without_branch(self):
89
89
branch = Branch.initialize(u'.')
90
90
tree = WorkingTree(branch.base)
91
91
self.assertEqual(branch.base, tree.branch.base)
94
94
def test_basic_relpath(self):
95
95
# for comprehensive relpath tests, see whitebox.py.