CVE-2023-4154 dsdb/tests: Use self.addCleanup() and delete_force()
commit23b867c70bd995ca6eedcf0b72a24c043e8e7fb0
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Aug 2023 01:15:40 +0000 (7 13:15 +1200)
committerJule Anger <janger@samba.org>
Mon, 9 Oct 2023 20:16:08 +0000 (9 22:16 +0200)
tree45aadf301783fa61ac2b33a49fb48e539f017b67
parentd7ab8d4c2ea390d4d4f9be55f7072fa875457721
CVE-2023-4154 dsdb/tests: Use self.addCleanup() and delete_force()

Thie helps ensure this test is reliable even in spite of errors while
running.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/tests/python/confidential_attr.py
source4/dsdb/tests/python/dirsync.py