mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
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>
This commit is contained in:
parent
9d25a21d60
commit
fb758c32e7
@ -139,7 +139,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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user