mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4:dsdb:tests: Refactor security descriptor test
Use more specific unittest methods. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
2e5d08c908
commit
3eb95c8791
@ -2672,8 +2672,8 @@ class SdAutoInheritTests(DescriptorTests):
|
||||
ou_sddl2 = ou_sd2.as_sddl(self.domain_sid)
|
||||
sub_sddl2 = sub_sd2.as_sddl(self.domain_sid)
|
||||
|
||||
self.assertFalse(ou_sddl2 == ou_sddl0)
|
||||
self.assertFalse(sub_sddl2 == sub_sddl0)
|
||||
self.assertNotEqual(ou_sddl2, ou_sddl0)
|
||||
self.assertNotEqual(sub_sddl2, sub_sddl0)
|
||||
|
||||
if ace not in ou_sddl2:
|
||||
print("ou0: %s" % ou_sddl0)
|
||||
|
Loading…
Reference in New Issue
Block a user