From: Stefan Metzmacher Date: Mon, 10 Mar 2025 18:06:39 +0000 (+0100) Subject: python:tests/krb5: create_account_opts() can't handle self.AccountType.TRUST X-Git-Tag: tevent-0.17.0~382 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7bcaa23774870adc1074f997b8476ff70ca316a;p=thirdparty%2Fsamba.git python:tests/krb5: create_account_opts() can't handle self.AccountType.TRUST create_trust() is used for that... Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/python/samba/tests/krb5/kdc_base_test.py b/python/samba/tests/krb5/kdc_base_test.py index 20a004579a4..d7515e7293f 100644 --- a/python/samba/tests/krb5/kdc_base_test.py +++ b/python/samba/tests/krb5/kdc_base_test.py @@ -2592,6 +2592,7 @@ class KDCBaseTest(TestCaseInTempDir, RawKerberosTest): logon_hours, smartcard_required, enabled): + self.assertNotEqual(account_type, self.AccountType.TRUST) if account_type is self.AccountType.USER: self.assertIsNone(delegation_to_spn) self.assertIsNone(delegation_from_dn)