1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

tests/krb5: Use None for the default values of parameters

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-10-18 14:17:59 +13:00 committed by Andrew Bartlett
parent 2ddd8ca3c7
commit 991e8f5a7f

View File

@ -2724,8 +2724,8 @@ class ConditionalAceTests(ConditionalAceBaseTests):
reason=AuditReason.NONE,
status=None,
edata=False,
client_from_rodc=False,
device_from_rodc=False,
client_from_rodc=None,
device_from_rodc=None,
client_sids=None,
client_claims=None,
device_sids=None,
@ -2741,6 +2741,12 @@ class ConditionalAceTests(ConditionalAceBaseTests):
except TypeError:
self.assertIsNot(code, CRASHES_WINDOWS)
if client_from_rodc is None:
client_from_rodc = False
if device_from_rodc is None:
device_from_rodc = False
client_creds = self.get_cached_creds(
account_type=self.AccountType.USER,
opts={