]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Rename parameter to be consistent with overridden method
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 7 Dec 2023 21:48:40 +0000 (10:48 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Dec 2023 20:21:34 +0000 (20:21 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/domain_backup.py

index 12b997281615f7797b4a2751e42850f1f4e9dabc..c2ba2db0b08cf94220d3d00260b707633a747507 100644 (file)
@@ -561,10 +561,10 @@ class DomainBackupRename(DomainBackupBase):
         self.assertTrue(new_server_dn in link_values)
 
     # extra checks we run on the restored DB in the rename case
-    def check_restored_database(self, lp, expect_secrets=True):
+    def check_restored_database(self, bkp_lp, expect_secrets=True):
         # run the common checks over the restored DB
         common_test = super()
-        samdb = common_test.check_restored_database(lp, expect_secrets)
+        samdb = common_test.check_restored_database(bkp_lp, expect_secrets)
 
         # check we have actually renamed the DNs
         basedn = str(samdb.get_default_basedn())