summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-05-24 19:26:56 +1200
committerJule Anger <janger@samba.org>2022-07-24 11:42:01 +0200
commitca582250fcaf2ad3c585f7e31a1a4ce568b7ddb7 (patch)
tree26ac57b9712eb974f6fa459dece2e24fab40a282
parent13fe7e013eccca2c86258084f4443ddb7abaf089 (diff)
downloadsamba-ca582250fcaf2ad3c585f7e31a1a4ce568b7ddb7.tar.gz
tests/krb5: Fix enum typo
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r--python/samba/tests/krb5/kdc_base_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/tests/krb5/kdc_base_test.py b/python/samba/tests/krb5/kdc_base_test.py
index 685a6f71f88..14f1d1a243d 100644
--- a/python/samba/tests/krb5/kdc_base_test.py
+++ b/python/samba/tests/krb5/kdc_base_test.py
@@ -248,9 +248,9 @@ class KDCBaseTest(RawKerberosTest):
which is used by tearDownClass to clean up the created accounts.
'''
if ou is None:
- if account_type is account_type.COMPUTER:
+ if account_type is self.AccountType.COMPUTER:
guid = DS_GUID_COMPUTERS_CONTAINER
- elif account_type is account_type.SERVER:
+ elif account_type is self.AccountType.SERVER:
guid = DS_GUID_DOMAIN_CONTROLLERS_CONTAINER
else:
guid = DS_GUID_USERS_CONTAINER