dsdb group audit tests: log_membership_changes extra tests
[samba.git] / selftest / format-subunit
index f59de9725849fecc674a56a20163cc5e4be73bb5..9538ce19e9a1339a38608cfccdaaa9fd3289118c 100755 (executable)
@@ -9,17 +9,14 @@ import os
 import signal
 import sys
 
-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"))
-sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/mimeparse"))
-sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../lib/extras"))
+sys.path.insert(0, "bin/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")
@@ -49,7 +46,7 @@ summaryfile = os.path.join(opts.prefix, "summary")
 
 msg_ops.write_summary(summaryfile)
 
-print "\nA summary with detailed information can be found in:"
-print "  %s" % summaryfile
+print("\nA summary with detailed information can be found in:")
+print("  %s" % summaryfile)
 
 sys.exit(expected_ret)