summaryrefslogtreecommitdiff
path: root/selftest/format-subunit
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-13 21:17:05 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-14 10:54:27 +0200
commitfb1c96665201a8090bcf14db7a71a752e4cd7041 (patch)
tree4d536f60b2119f7b180c2b10e44cc1a0aaff89bf /selftest/format-subunit
parent8530d5afdee8fbc4d87398839d37c503dc05410d (diff)
downloadsamba-fb1c96665201a8090bcf14db7a71a752e4cd7041.tar.gz
samba-fb1c96665201a8090bcf14db7a71a752e4cd7041.tar.bz2
samba-fb1c96665201a8090bcf14db7a71a752e4cd7041.zip
subunit: Use standard subunit test protocol client, use standard name for startTest.
Diffstat (limited to 'selftest/format-subunit')
-rwxr-xr-xselftest/format-subunit4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/format-subunit b/selftest/format-subunit
index 31136b05ff..ff57b54ace 100755
--- a/selftest/format-subunit
+++ b/selftest/format-subunit
@@ -28,7 +28,7 @@ def format_time(t):
return ret
-class PlainFormatter(testtools.testresult.TestResult):
+class PlainFormatter(subunithelper.TestsuiteEnabledTestResult):
def __init__(self, summaryfile, verbose, immediate, statistics,
totaltests=None):
@@ -122,7 +122,7 @@ class PlainFormatter(testtools.testresult.TestResult):
sys.stdout.write(out)
- def start_test(self, testname):
+ def startTest(self, testname):
pass
def end_test(self, testname, result, unexpected, reason=None):