s4-dns: fixed CNAME automatic DNS updates
[samba.git] / source4 / scripting / bin / subunitrun
index 6f1086ad376c653087cb703a78dd61dd2e351c35..6cd3943786aded20ecdf7864b834ee119cb4bf2b 100755 (executable)
@@ -22,7 +22,7 @@ import sys
 # Find right directory when running from source tree
 sys.path.insert(0, "bin/python")
 
-from subunit import SubunitTestRunner
+from subunit.run import SubunitTestRunner
 from unittest import TestProgram
 import optparse
 import os
@@ -42,7 +42,5 @@ args = parser.parse_args()[1]
 samba.tests.cmdline_loadparm = sambaopts.get_loadparm()
 samba.tests.cmdline_credentials = credopts.get_credentials(samba.tests.cmdline_loadparm)
 
-param.cvar.default_config = samba.tests.cmdline_loadparm
-
 runner = SubunitTestRunner()
 program = TestProgram(module=None, argv=[sys.argv[0]] + args, testRunner=runner)