diff options
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/filter-subunit | 3 | ||||
-rwxr-xr-x | selftest/format-subunit | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/selftest/filter-subunit b/selftest/filter-subunit index 41d92c97e89..605a89840af 100755 --- a/selftest/filter-subunit +++ b/selftest/filter-subunit @@ -5,13 +5,14 @@ import optparse import os -import subunithelper import sys import signal sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/subunit/python")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/testtools")) +import subunithelper + parser = optparse.OptionParser("filter-subunit [options] < instream > outstream") parser.add_option("--expected-failures", type="string", help="File containing list of regexes matching tests to consider known " diff --git a/selftest/format-subunit b/selftest/format-subunit index e590652cd11..54949df97a9 100755 --- a/selftest/format-subunit +++ b/selftest/format-subunit @@ -8,12 +8,13 @@ import optparse import os import signal import sys -import subunithelper -import subunit sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/subunit/python")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/testtools")) +import subunithelper +import subunit + class PlainFormatter(object): def __init__(self, summaryfile, verbose, immediate, statistics, |