tests/krb5: Set expected_status even if expect_status is not true
commitd211d700ab9cb9724d491d08bcf8be4c4f6ffbfd
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 17 May 2023 04:43:12 +0000 (17 16:43 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 18 May 2023 04:53:29 +0000 (18 04:53 +0000)
treed7ed39749d13102fdb3ec9b061480df500830122
parent4a3f764f7fa1a9038997302df01fb91af7725e2c
tests/krb5: Set expected_status even if expect_status is not true

We might get an NTSTATUS code even if we aren’t explicitly saying that
we expect one.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/lockout_tests.py