summaryrefslogtreecommitdiff
path: root/lib/subunit/python/subunit/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subunit/python/subunit/run.py')
-rwxr-xr-xlib/subunit/python/subunit/run.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/subunit/python/subunit/run.py b/lib/subunit/python/subunit/run.py
index 51d6837aab..ca5fe5c17e 100755
--- a/lib/subunit/python/subunit/run.py
+++ b/lib/subunit/python/subunit/run.py
@@ -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