diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2021-09-25 19:18:39 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2021-10-26 12:00:28 +0000 |
commit | e37949faf918a960292a8cb48265427defcbe557 (patch) | |
tree | 5bba684b00e45faeefa7b847b8d25a39017fb66f | |
parent | d8f30194798a83c27348e4aa5ee5ed7411ae4379 (diff) | |
download | samba-e37949faf918a960292a8cb48265427defcbe557.tar.gz |
s4/torture/drs/python: Fix attribute existence check
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14845
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit fb758c32e7633178f42dc2c031667b10c2ca6e90)
-rw-r--r-- | source4/torture/drs/python/replica_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/drs/python/replica_sync.py b/source4/torture/drs/python/replica_sync.py index ad03d1b061e..62545be6fee 100644 --- a/source4/torture/drs/python/replica_sync.py +++ b/source4/torture/drs/python/replica_sync.py @@ -140,7 +140,7 @@ objectClass: organizationalUnit # now check properties of the user name_cur = ou_cur["ou"][0] self.assertEqual(ou_cur["isDeleted"][0], b"TRUE") - self.assertTrue(not(b"objectCategory" in ou_cur)) + self.assertTrue(not("objectCategory" in ou_cur)) self.assertTrue(dodn in str(ou_cur["dn"]), "OU %s is deleted but it is not located under %s!" % (name_cur, dodn)) |