mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
18dbdf6aac
This fixes a lot of tests with Python 3.8. Stacktrace example: File "python/samba/tests/krb5/as_req_tests.py", line 249, in test_as_req_enc_timestamp_rc4_dummy self._run_as_req_enc_timestamp( File "python/samba/tests/krb5/as_req_tests.py", line 129, in _run_as_req_enc_timestamp as_rep, kdc_exchange_dict = self._test_as_exchange( File "python/samba/tests/krb5/raw_testcase.py", line 3982, in _test_as_exchange rep = self._generic_kdc_exchange(kdc_exchange_dict, File "python/samba/tests/krb5/raw_testcase.py", line 2029, in _generic_kdc_exchange return check_rep_fn(kdc_exchange_dict, callback_dict, rep) File "python/samba/tests/krb5/raw_testcase.py", line 2328, in generic_check_kdc_rep self.check_reply_padata(kdc_exchange_dict, File "python/samba/tests/krb5/raw_testcase.py", line 2998, in check_reply_padata got_patypes = tuple(pa['padata-type'] for pa in rep_padata) TypeError: 'NoneType' object is not iterable This adds additional checks for rep_padata. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz> |
||
---|---|---|
.. | ||
examples | ||
samba | ||
modules.c | ||
modules.h | ||
py3compat.h | ||
pyglue.c | ||
wscript |