From 4571b94e7b04acaa7f462262dac509843287e4af Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 9 Dec 2010 19:45:37 +0100 Subject: s4-python: Split up ensure_external_module. --- source4/scripting/bin/subunitrun | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/scripting/bin/subunitrun') diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index 72f6429188..87519d5661 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -22,15 +22,14 @@ import sys # Find right directory when running from source tree sys.path.insert(0, "bin/python") -from subunit.run import TestProgram import optparse import samba samba.ensure_external_module("testtools", "testtools") samba.ensure_external_module("subunit", "subunit/python") +from subunit.run import SubunitTestRunner, TestProgram import samba.getopt as options import samba.tests -from subunit.run import SubunitTestRunner parser = optparse.OptionParser("subunitrun [options] ") credopts = options.CredentialsOptions(parser) -- cgit