~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

Fix TestCase.make_branch_builder to make a branch in the specified format.  Also add an interrepo test scenario for KnitPack1 -> KnitPack6RichRoot, which fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2130
2130
        return memorytree.MemoryTree.create_on_branch(b)
2131
2131
 
2132
2132
    def make_branch_builder(self, relpath, format=None):
2133
 
        return branchbuilder.BranchBuilder(self.get_transport(relpath),
2134
 
            format=format)
 
2133
        branch = self.make_branch(relpath, format=format)
 
2134
        return branchbuilder.BranchBuilder(branch=branch)
2135
2135
 
2136
2136
    def overrideEnvironmentForTesting(self):
2137
2137
        os.environ['HOME'] = self.test_home_dir