From: Joseph Sutton Date: Thu, 7 Dec 2023 21:48:40 +0000 (+1300) Subject: python:tests: Rename parameter to be consistent with overridden method X-Git-Tag: talloc-2.4.2~223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10553111f0ea1d09db5e1c67a807a8f76f447889;p=thirdparty%2Fsamba.git python:tests: Rename parameter to be consistent with overridden method Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/domain_backup.py b/python/samba/tests/domain_backup.py index 12b99728161..c2ba2db0b08 100644 --- a/python/samba/tests/domain_backup.py +++ b/python/samba/tests/domain_backup.py @@ -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())