tests/krb5: Always specify expected error code
commitd82d3a20d320a9921ef6cbc31cd945b011875281
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 26 Jul 2021 22:32:52 +0000 (27 10:32 +1200)
committerJule Anger <janger@samba.org>
Thu, 16 Sep 2021 08:07:12 +0000 (16 08:07 +0000)
treec038ebaee58581773c2d84e3756f949c2d518920
parent235873ff334c6362f2392ac896b6fe9e03b8df1b
tests/krb5: Always specify expected error code

Now the expected error code is always determined by the test code itself
rather than by generic_check_as_error().

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817
(cherry picked from commit 21c64fda8f98d451e028ea483dbe351b1280390c)
python/samba/tests/krb5/as_req_tests.py
python/samba/tests/krb5/raw_testcase.py