From: Joseph Sutton Date: Thu, 28 Sep 2023 01:49:11 +0000 (+1300) Subject: tests/krb5: Allow variation in PADATA_PW_SALT X-Git-Tag: tevent-0.16.0~338 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=939a74e39b06535fa5f25a6933825366325fbc62;p=thirdparty%2Fsamba.git tests/krb5: Allow variation in PADATA_PW_SALT Signed-off-by: Joseph Sutton Signed-off-by: Andrew Bartlett Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/raw_testcase.py b/python/samba/tests/krb5/raw_testcase.py index ba59bba5495..11721094429 100644 --- a/python/samba/tests/krb5/raw_testcase.py +++ b/python/samba/tests/krb5/raw_testcase.py @@ -119,6 +119,7 @@ from samba.tests.krb5.rfc4120_constants import ( PADATA_PK_AS_REP, PADATA_PK_AS_REP_19, PADATA_PK_AS_REQ, + PADATA_PW_SALT, PADATA_REQ_ENC_PA_REP, PADATA_SUPPORTED_ETYPES, ) @@ -5045,7 +5046,8 @@ class RawKerberosTest(TestCase): got_patypes = tuple(pa['padata-type'] for pa in rep_padata) self.assertSequenceElementsEqual(expected_patypes, got_patypes, - require_strict=require_strict) + require_strict=require_strict, + unchecked={PADATA_PW_SALT}) if not expected_patypes: return None