mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
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>
This commit is contained in:
parent
77e702460e
commit
6363a2d8e9
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user