80
80
branch = Branch.initialize(u'.')
81
81
tree = WorkingTree(branch.base, branch)
82
82
self.assertEqual(branch, tree.branch)
85
85
def test_construct_without_branch(self):
86
86
branch = Branch.initialize(u'.')
87
87
tree = WorkingTree(branch.base)
88
88
self.assertEqual(branch.base, tree.branch.base)
91
91
def test_basic_relpath(self):
92
92
# for comprehensive relpath tests, see whitebox.py.