]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Fix enum typo
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 24 May 2022 07:26:56 +0000 (19:26 +1200)
committerJule Anger <janger@samba.org>
Wed, 27 Jul 2022 10:52:36 +0000 (10:52 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/krb5/kdc_base_test.py

index 4cc006c6faf2bea8281366b2c8e6326db9a1c1f6..3e93db8716003a71c892707b8826265aeca2cfcd 100644 (file)
@@ -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