[PATCH 23/55] format-subunit: Remove import of unnecessary third party modules testtools and subunit.

Jelmer Vernooij jelmer at samba.org
Fri Feb 6 12:03:55 MST 2015


Change-Id: I3403ceacf8bbdf075c1c540081f7c3e82f4751bc
Signed-off-by: Jelmer Vernooij <jelmer at samba.org>
---
 selftest/format-subunit | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/selftest/format-subunit b/selftest/format-subunit
index 58321bf..2506f97 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")
-- 
2.1.4



More information about the samba-technical mailing list