63
63
branch = Branch.initialize('.')
64
64
tree = WorkingTree(branch.base, branch)
65
65
self.assertEqual(branch, tree.branch)
67
66
self.assertEqual(branch.base, tree.basedir)
69
68
def test_construct_without_branch(self):
70
69
branch = Branch.initialize('.')
71
70
tree = WorkingTree(branch.base)
72
71
self.assertEqual(branch.base, tree.branch.base)
74
72
self.assertEqual(branch.base, tree.basedir)
76
74
def test_basic_relpath(self):