summaryrefslogtreecommitdiff
path: root/selftest/format-subunit
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-12-14 19:38:48 +0000
committerAndrew Bartlett <abartlet@samba.org>2015-03-06 04:41:47 +0100
commit6363a2d8e90d525206aa83ad205a7a2263265bd1 (patch)
tree950fd98fe543a1bb5f3c276c1ddf1864124de805 /selftest/format-subunit
parent77e702460ea35cea6eebd061a04c570acc767f90 (diff)
downloadsamba-6363a2d8e90d525206aa83ad205a7a2263265bd1.tar.gz
format-subunit: Remove import of unnecessary third party modules testtools and subunit.
Change-Id: I3403ceacf8bbdf075c1c540081f7c3e82f4751bc Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/format-subunit')
-rwxr-xr-xselftest/format-subunit7
1 files changed, 1 insertions, 6 deletions
diff --git a/selftest/format-subunit b/selftest/format-subunit
index 58321bf368a..2506f97c645 100755
--- a/selftest/format-subunit
+++ b/selftest/format-subunit
@@ -10,18 +10,13 @@ import signal
import sys
sys.path.insert(0, "bin/python")
-import samba
-samba.ensure_external_module("mimeparse", "mimeparse")
-samba.ensure_external_module("extras", "extras")
-samba.ensure_external_module("testtools", "testtools")
-samba.ensure_external_module("subunit", "subunit/python")
import subunithelper
parser = optparse.OptionParser("format-subunit [options]")
parser.add_option("--verbose", action="store_true",
help="Be verbose")
-parser.add_option("--immediate", action="store_true",
+parser.add_option("--immediate", action="store_true",
help="Show failures immediately, don't wait until test run has finished")
parser.add_option("--prefix", type="string", default=".",
help="Prefix to write summary to")