~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2006-05-26 06:08:47 UTC
  • mto: This revision was merged to the branch mainline in revision 1761.
  • Revision ID: mbp@sourcefrog.net-20060526060847-20ed6bc6bf074b68
Split check into Branch.check and Repository.check

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
 
320
328
class ChrootedTests(TestCaseWithBranch):
321
329
    """A support class that provides readonly urls outside the local namespace.