/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Martin Pool
  • Date: 2009-07-20 04:12:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4551.
  • Revision ID: mbp@sourcefrog.net-20090720041230-d2svl80w9uat47bc
Correction to selftest test for benchmark time display

Show diffs side-by-side

added added

removed removed

Lines of Context:
723
723
                self.time(time.sleep, 0.003)
724
724
        self.check_timing(ShortDelayTestCase('test_short_delay'),
725
725
                          r"^ +[0-9]+ms$")
726
 
        # if a benchmark time is given, we want a x of y style result.
 
726
        # if a benchmark time is given, we now show just that time followed by
 
727
        # a star
727
728
        self.check_timing(ShortDelayTestCase('test_short_benchmark'),
728
 
                          r"^ +[0-9]+ms/ +[0-9]+ms$")
 
729
                          r"^ +[0-9]+ms\*$")
729
730
 
730
731
    def test_unittest_reporting_unittest_class(self):
731
732
        # getting the time from a non-bzrlib test works ok