~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testworkingtree.py

[merge] robert

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        branch = Branch.initialize('.')
64
64
        tree = WorkingTree(branch.base, branch)
65
65
        self.assertEqual(branch, tree.branch)
66
 
        self.assertEqual(branch.inventory, tree._inventory)
67
66
        self.assertEqual(branch.base, tree.basedir)
68
67
    
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)
73
 
        self.assertEqual(branch.inventory, tree._inventory)
74
72
        self.assertEqual(branch.base, tree.basedir)
75
73
 
76
74
    def test_basic_relpath(self):