#NEWLINE# def test_Security_set_sacl_empty( self ) : #NEWLINE# #INDENT# s = security . security ( ) #NEWLINE# s . sacl = [ ] #NEWLINE# assert ( len ( s . sacl ) == 0 ) #NEWLINE# assert ( s . pyobject ( ) . GetSecurityDescriptorSacl ( ) . GetAceCount ( ) == 0 ) #NEWLINE# sd = win32security . SECURITY_DESCRIPTOR ( ) #NEWLINE# acl = win32security . ACL ( ) #NEWLINE# sd . SetSecurityDescriptorSacl ( 1 , acl , 0 ) #NEWLINE# assert equal ( sd , sd )