selftest: Make it clear that the first argument to KCC.run() is unused
authorAndrew Bartlett <abartlet@samba.org>
Tue, 22 Sep 2015 03:51:33 +0000 (15:51 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 26 Oct 2015 04:11:22 +0000 (05:11 +0100)
This is unused because we have already provided a database via import_ldif

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/tests/kcc/ldif_import_export.py

index f3352e20cbb0e01e189b49ff453cac67daf21c3c..82807e7ba6f718c6f0b19b07b9f1a6e9ec404b9d 100644 (file)
@@ -187,7 +187,7 @@ class KCCMultisiteLdifTests(samba.tests.TestCaseInTempDir):
         tmpdb = os.path.join(self.tempdir, 'verify-tmpdb')
         my_kcc.import_ldif(tmpdb, self.lp, self.creds, MULTISITE_LDIF)
 
-        my_kcc.run("ldap://%s" % tmpdb,
+        my_kcc.run(None,
                    self.lp, self.creds,
                    attempt_live_connections=False)
         self.remove_files(tmpdb)
@@ -199,7 +199,7 @@ class KCCMultisiteLdifTests(samba.tests.TestCaseInTempDir):
         tmpdb = os.path.join(self.tempdir, 'dotfile-tmpdb')
         files = [tmpdb]
         my_kcc.import_ldif(tmpdb, self.lp, self.creds, MULTISITE_LDIF)
-        my_kcc.run("ldap://%s" % tmpdb,
+        my_kcc.run(None,
                    self.lp, self.creds,
                    attempt_live_connections=False)