~bzr-pqm/bzr/bzr.dev

« 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-11 01:26:03 UTC
  • mfrom: (1732.2.7 bzr.mbp.check)
  • Revision ID: pqm@pqm.ubuntu.com-20060611012603-c00c68cf5b2505d7
(mbp) split out check into repo & branch methods

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
 
319
327
    def test_get_commit_builder(self):
320
328
        self.assertIsInstance(self.make_branch(".").get_commit_builder([]), 
321
329
            bzrlib.repository.CommitBuilder)