summaryrefslogtreecommitdiff
path: root/python
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-27 10:52:36 +0000
commit2bb1f40b9a46d36af5604b1ac69079ad066b42fe (patch)
treecc6770ff9d8354e94c66a3743f70de89edd0d51e /python
parent18bd6dafb576a58440d5c4ba6fff86dfe510bd98 (diff)
downloadsamba-2bb1f40b9a46d36af5604b1ac69079ad066b42fe.tar.gz
samba-2bb1f40b9a46d36af5604b1ac69079ad066b42fe.tar.bz2
samba-2bb1f40b9a46d36af5604b1ac69079ad066b42fe.zip
tests/krb5: Fix enum typo
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'python')
-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 4cc006c6faf..3e93db87160 100644
--- a/python/samba/tests/krb5/kdc_base_test.py
+++ b/python/samba/tests/krb5/kdc_base_test.py
@@ -276,9 +276,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