'L{reporter.MinimalReporter} reports the time to run the tests as first
data in its output.'

def test_minimalReporterTime(self):

    times = [1.0, 1.2, 1.5, 1.9]
    result = reporter.MinimalReporter(self.stream)
    result._getTime = (lambda : times.pop(0))
    self.test.run(result)
    result._printSummary()
    output = self.stream.getvalue().strip().split('    ')
    timer = output[0]
    self.assertEqual(timer, '0.7')
