mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
PEP8: fix E225: missing whitespace around operator
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -1368,7 +1368,7 @@ class DaclDescriptorTests(DescriptorTests):
|
||||
desc_sddl = self.sd_utils.get_sd_as_sddl(group_dn)
|
||||
mod = mod.replace(";OI;", ";OIIOID;") # change it how it's gonna look like
|
||||
self.assertTrue(mod in desc_sddl)
|
||||
self.sd_utils.modify_sd_on_dn(group_dn, "D:" +moded)
|
||||
self.sd_utils.modify_sd_on_dn(group_dn, "D:" + moded)
|
||||
desc_sddl = self.sd_utils.get_sd_as_sddl(group_dn)
|
||||
self.assertTrue(moded in desc_sddl)
|
||||
self.assertTrue(mod in desc_sddl)
|
||||
@ -2076,7 +2076,7 @@ class SdAutoInheritTests(DescriptorTests):
|
||||
See that only the owner has been changed.
|
||||
"""
|
||||
attrs = ["nTSecurityDescriptor", "replPropertyMetaData", "uSNChanged"]
|
||||
controls=["sd_flags:1:%d" % (SECINFO_DACL)]
|
||||
controls = ["sd_flags:1:%d" % (SECINFO_DACL)]
|
||||
ace = "(A;CI;CC;;;NU)"
|
||||
sub_ace = "(A;CIID;CC;;;NU)"
|
||||
sd_sddl = "O:BAG:BAD:P(A;CI;0x000f01ff;;;AU)"
|
||||
|
Reference in New Issue
Block a user