~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_selftest.py

  • Committer: Robert Collins
  • Date: 2006-05-24 23:42:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1729.
  • Revision ID: robertc@robertcollins.net-20060524234238-5f7987330b083d4d
Guard benchcalls with a getattr, and update test_selftest for the new output.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        out, err = self.run_bzr('selftest', '--benchmark', 'workingtree_implementations')
85
85
        self.assertContainsRe(out, 'Ran 0 tests.*\n\nOK')
86
86
        self.assertEqual(
87
 
            'running tests...\nRunning tests: .\nCleaning up: .\ntests passed\n',
 
87
            'running tests...\ntests passed\n',
88
88
            err)
89
89
        
90
90