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:
parent
2ddd8ca3c7
commit
991e8f5a7f
@ -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={
|
||||
|
Loading…
Reference in New Issue
Block a user