tests/krb5: Allow expected_error_mode to be a container type
commitebd673e976aea5dd481a75f180fd526995c4fda0
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 31 Aug 2021 07:42:33 +0000 (31 19:42 +1200)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 2 Sep 2021 13:41:28 +0000 (2 13:41 +0000)
tree6f09c1d83e114d52a18be7d9f0c92ae18e1d15cf
parent24914ae17d49f634fafc1bdeb88859293da05f79
tests/krb5: Allow expected_error_mode to be a container type

This allows a range of possible error codes to be checked against, for
cases when the particular error code returned is not so important.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andreas Schneider <asn@samba.org>
python/samba/tests/krb5/raw_testcase.py