subunit: Import new upstream snapshot.
[samba.git] / lib / subunit / python / subunit / run.py
index 51d6837aab71c9661b2ff7b8479a7b2eceb0a6e6..ca5fe5c17e0e4ac1506de39a3bae2a1fffe9af88 100755 (executable)
@@ -23,6 +23,7 @@
 import sys
 
 from subunit import TestProtocolClient, get_default_formatter
+from subunit.test_results import AutoTimingTestResultDecorator
 from testtools.run import (
     BUFFEROUTPUT,
     CATCHBREAK,
@@ -39,6 +40,7 @@ class SubunitTestRunner(object):
     def run(self, test):
         "Run the given test case or test suite."
         result = TestProtocolClient(self.stream)
+        result = AutoTimingTestResultDecorator(result)
         test(result)
         return result