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>
Mon, 9 Oct 2023 20:15:19 +0000 (22:15 +0200)
commit5ca0ee6f111e63ef92bbb8fc94b81a08b490854f
tree408a15bbd9be1309fc9b24ac22718042c546853a
parent582f4f2e844d95e48444d2b98c7397cac32ad6d4
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