~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bundle.py

Unshelved all changes except those related to removing RootEntry

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
class MockTree(object):
40
40
    def __init__(self):
41
 
        from bzrlib.inventory import RootEntry, ROOT_ID
 
41
        from bzrlib.inventory import InventoryDirectory, ROOT_ID
42
42
        object.__init__(self)
43
43
        self.paths = {ROOT_ID: ""}
44
44
        self.ids = {"": ROOT_ID}
45
45
        self.contents = {}
46
 
        self.root = RootEntry(ROOT_ID)
 
46
        self.root = InventoryDirectory(ROOT_ID, '', None)
47
47
 
48
48
    inventory = property(lambda x:x)
49
49