1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-18 08:23:51 +03:00

python:tests: Rename parameter to be consistent with overridden method

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton
2023-12-08 10:48:40 +13:00
committed by Andrew Bartlett
parent 6256ad7442
commit 10553111f0

View 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())