mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
tests/krb5: Keep claim types for subsequent tests
We want to be able to reuse them across several tests. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f552933760
commit
942cc0b626
@ -780,8 +780,8 @@ class KDCBaseTest(TestCaseInTempDir, RawKerberosTest):
|
||||
self.assertFalse(force, 'should not fail with force=True')
|
||||
self.assertEqual(num, ldb.ERR_ENTRY_ALREADY_EXISTS)
|
||||
else:
|
||||
# Save the claim DN so it can be deleted in tearDown()
|
||||
self.test_accounts.append(str(claim_dn))
|
||||
# Save the claim DN so it can be deleted in tearDownClass()
|
||||
self.accounts.append(str(claim_dn))
|
||||
|
||||
def create_account(self, samdb, name, account_type=AccountType.USER,
|
||||
spn=None, upn=None, additional_details=None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user