selftest: krb5 account creation: clarify account type as an enum
commit38ebe186f421df13a9e593a6a9f0f14b77cbaba7
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 8 Oct 2021 02:40:09 +0000 (8 15:40 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Oct 2021 22:37:10 +0000 (27 22:37 +0000)
tree10c10411eed6d9755c9e71315590c978aad57e08
parent18bce6fc477d94d7c5a361ceec3b6f3353647e71
selftest: krb5 account creation: clarify account type as an enum

This makes the code clearer with a symbolic constant rather
than a True/False boolean.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 49306f74eb29a2192019fab9260f9d242f9d5fd9)
python/samba/tests/krb5/as_canonicalization_tests.py
python/samba/tests/krb5/kdc_base_test.py
python/samba/tests/krb5/kdc_tgs_tests.py
python/samba/tests/krb5/ms_kile_client_principal_lookup_tests.py
python/samba/tests/krb5/rodc_tests.py
python/samba/tests/krb5/s4u_tests.py
python/samba/tests/krb5/test_ccache.py