~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2006-06-13 13:24:40 UTC
  • mfrom: (1767 +trunk)
  • mto: (1769.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1770.
  • Revision ID: jelmer@samba.org-20060613132440-24e222a86f948f60
[merge] bzr.dev

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_check_branch_report_results(self):
 
320
        """Checking a branch produces results which can be printed"""
 
321
        branch = self.make_branch('.')
 
322
        result = branch.check()
 
323
        # reports results through logging
 
324
        result.report_results(verbose=True)
 
325
        result.report_results(verbose=False)
 
326
 
 
327
    def test_get_commit_builder(self):
 
328
        self.assertIsInstance(self.make_branch(".").get_commit_builder([]), 
 
329
            bzrlib.repository.CommitBuilder)
 
330
 
319
331
 
320
332
class ChrootedTests(TestCaseWithBranch):
321
333
    """A support class that provides readonly urls outside the local namespace.