~lifeless/+junk/ignored

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-08 15:08:04 UTC
  • mfrom: (1740.3.10 commit_builder)
  • Revision ID: pqm@pqm.ubuntu.com-20060608150804-a186fa90bfede9a6
(jrv,rbc,jam) Refactor commit.Commit to use a Repository specific CommitBuilder, enables foreign branch commits

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
        text = tree.branch._format.get_format_description()
317
317
        self.failUnless(len(text))
318
318
 
 
319
    def test_get_commit_builder(self):
 
320
        self.assertIsInstance(self.make_branch(".").get_commit_builder([]), 
 
321
            bzrlib.repository.CommitBuilder)
 
322
 
319
323
 
320
324
class ChrootedTests(TestCaseWithBranch):
321
325
    """A support class that provides readonly urls outside the local namespace.