]> git.ipfire.org Git - thirdparty/samba.git/commit
selftest: Use self.assertRaisesLdbError() in user_account_control.py test
authorAndrew Bartlett <abartlet@samba.org>
Thu, 16 Sep 2021 04:09:24 +0000 (16:09 +1200)
committerJeremy Allison <jra@samba.org>
Mon, 4 Oct 2021 21:55:43 +0000 (21:55 +0000)
commitb45190bdac7bd9dcefd5ed88be4bd9a97a712664
tree10dbb32f5bbe2875bac84a4a49a25780967f064d
parent298515cac2f35082483c2b4e4b7dbfe4df1d2e0c
selftest: Use self.assertRaisesLdbError() in user_account_control.py test

This changes most of the simple pattern with self.samdb.modify()
to use the wrapper.  Some other calls still need to be converted, while
the complex decision tree tests should remain as-is for now.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Oct  4 21:55:43 UTC 2021 on sn-devel-184
source4/dsdb/tests/python/user_account_control.py