~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Robert Collins
  • Date: 2009-04-15 00:00:35 UTC
  • mfrom: (4289 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4291.
  • Revision ID: robertc@robertcollins.net-20090415000035-h0xsked0o73un7gi
Merge with .dev.

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