]> git.ipfire.org Git - thirdparty/samba.git/commit
tests/krb5: Use __slots__ to indicate which attributes are used by classes
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 30 Oct 2023 01:05:17 +0000 (14:05 +1300)
committerJule Anger <janger@samba.org>
Wed, 3 Jul 2024 08:48:12 +0000 (08:48 +0000)
commita35edbb5302fd83ec24eb731d3078e7a3d064ce8
tree5bf10f84f65390a466c9d38a8aab7da45c4cf3b5
parentfc8beb134d247667d9c94900fed3761cd08b796d
tests/krb5: Use __slots__ to indicate which attributes are used by classes

These should help to catch mistaken attempts to set invalid attributes.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 2b69e1e7c316e634090aad1d97ecadf8cdf529f3)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15655
python/samba/tests/krb5/kdc_base_test.py
python/samba/tests/krb5/raw_testcase.py