CVE-2023-4154 dsdb/tests: Use self.addCleanup() and delete_force()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 7 Aug 2023 01:15:40 +0000 (13:15 +1200)
committerJule Anger <janger@samba.org>
Tue, 10 Oct 2023 14:49:39 +0000 (14:49 +0000)
commit07d2b28fb3585c4d5366b0a8ddac9cd299aadf92
tree070a5b48e52bf1a720e7bde1c643fb6db8343458
parent6578a65ed7bb8740671a10e2fcf36c48fd524c07
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