summaryrefslogtreecommitdiff
path: root/selftest/format-subunit
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-03-31 04:52:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-03-31 04:52:13 +0200
commit74f36df4b30601417dc69031bf6f1af4c652e440 (patch)
tree6a30376252a1a039023e0c89c31942d490a9bb72 /selftest/format-subunit
parentc6b1553a2b83c5e70fcb1a3a76e49ed496553a4e (diff)
downloadsamba-74f36df4b30601417dc69031bf6f1af4c652e440.tar.gz
selftest: Update sys.path before attempting to import external modules.
Diffstat (limited to 'selftest/format-subunit')
-rwxr-xr-xselftest/format-subunit5
1 files changed, 3 insertions, 2 deletions
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,