CVE-2023-4154 s4:dsdb:tests: Refactor confidential attributes test
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 26 Jan 2023 18:43:40 +0000 (07:43 +1300)
committerJule Anger <janger@samba.org>
Sun, 8 Oct 2023 20:06:17 +0000 (22:06 +0200)
commitd1e0ee0ba7f4ab76d8a438f9fd862474f2c970c6
tree458f7575b912649e54fa297e59de773cc293742a
parentfbc27662712aba02c8c99346f21d26df05d16232
CVE-2023-4154 s4:dsdb:tests: Refactor confidential attributes test

Use more specific unittest methods, and remove unused code.

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

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 2e5d08c908b3fa48b9b374279a331061cb77bce3)
source4/dsdb/tests/python/confidential_attr.py