tests/krb5: Remove harmful and a-typical return in as_req testcase
commitbd76f6d47e756692243a77e7628324e333c566a0
authorAndrew Bartlett <abartlet@samba.org>
Tue, 31 Aug 2021 22:43:06 +0000 (1 10:43 +1200)
committerJule Anger <janger@samba.org>
Thu, 16 Sep 2021 08:07:12 +0000 (16 08:07 +0000)
tree0e533a5870ee7d51707ef22dec771f2f1b918c71
parentd3a611377bdda70e6940b6f3fff03cc6240f6a5b
tests/krb5: Remove harmful and a-typical return in as_req testcase

A test in a TestCase class should not return a value, the
test is determined by the assertions raised.

Other changes will shortly cause kdc_exchange_dict[preauth_etype_info2]
to not always be filled, so we need to remove this
rudundent code.

This also fixes a *lot* of tests against the MIT KDC

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14770
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 3330eaf39c6174f2d90fe4d8e016efb97005d1e5)
python/samba/tests/krb5/as_req_tests.py
selftest/knownfail_mit_kdc