mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
python/tests: use changetype: modify in order to delete a single attribute
'changetype: delete' is used to delete a whole object! Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c35ae5a77d
commit
65294d56bd
@ -587,7 +587,7 @@ class AuditLogDsdbTests(AuditLogTestBase):
|
||||
self.discardMessages()
|
||||
self.ldb.modify_ldif(
|
||||
"dn: " + dn + "\n" +
|
||||
"changetype: delete\n" +
|
||||
"changetype: modify\n" +
|
||||
"delete: carLicense\n" +
|
||||
"carLicense: license-03\n" +
|
||||
"carLicense: license-04\n")
|
||||
@ -613,7 +613,7 @@ class AuditLogDsdbTests(AuditLogTestBase):
|
||||
self.discardMessages()
|
||||
self.ldb.modify_ldif(
|
||||
"dn: " + dn + "\n" +
|
||||
"changetype: delete\n" +
|
||||
"changetype: modify\n" +
|
||||
"replace: carLicense\n" +
|
||||
"carLicense: license-05\n" +
|
||||
"carLicense: license-06\n")
|
||||
|
Loading…
Reference in New Issue
Block a user