~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

merge bzr.dev and cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
2154
2154
        return memorytree.MemoryTree.create_on_branch(b)
2155
2155
 
2156
2156
    def make_branch_builder(self, relpath, format=None):
2157
 
        return branchbuilder.BranchBuilder(self.get_transport(relpath),
2158
 
            format=format)
 
2157
        branch = self.make_branch(relpath, format=format)
 
2158
        return branchbuilder.BranchBuilder(branch=branch)
2159
2159
 
2160
2160
    def overrideEnvironmentForTesting(self):
2161
2161
        os.environ['HOME'] = self.test_home_dir