From: Joseph Sutton Date: Wed, 2 Aug 2023 21:38:15 +0000 (+1200) Subject: s4:dsdb:tests: Use control that was (presumably) intended X-Git-Tag: tevent-0.16.0~1108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a19ea9bce39c5a4c679b490f3c75b387c2d17e4;p=thirdparty%2Fsamba.git s4:dsdb:tests: Use control that was (presumably) intended Otherwise ‘control4’ goes unused. Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/tests/python/dirsync.py b/source4/dsdb/tests/python/dirsync.py index ca0947e2d21..b2f4eb27ae8 100755 --- a/source4/dsdb/tests/python/dirsync.py +++ b/source4/dsdb/tests/python/dirsync.py @@ -452,7 +452,7 @@ class SimpleDirsyncTests(DirsyncBaseTests): control4 = str(":".join(ctl)) res = self.ldb_admin.search(self.base_dn, expression="(&(objectClass=organizationalUnit)(!(isDeleted=*)))", - controls=[control3]) + controls=[control4]) self.assertTrue(res[0].get("parentGUID") is not None) self.assertTrue(res[0].get("name") is not None)