From 10553111f0ea1d09db5e1c67a807a8f76f447889 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Fri, 8 Dec 2023 10:48:40 +1300 Subject: [PATCH] python:tests: Rename parameter to be consistent with overridden method Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- python/samba/tests/domain_backup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) -- 2.47.3