#NEWLINE# def test_Security_set_dacl_empty( self ) : #NEWLINE# #INDENT# s = security . security ( ) #NEWLINE# s . dacl = [ ] #NEWLINE# assert ( len ( s . dacl ) == 0 ) #NEWLINE# assert ( s . pyobject ( ) . GetSecurityDescriptorDacl ( ) . GetAceCount ( ) == 0 ) #NEWLINE# sd = win32security . SECURITY_DESCRIPTOR ( ) #NEWLINE# acl = win32security . ACL ( ) #NEWLINE# sd . SetSecurityDescriptorDacl ( 1 , acl , 0 ) #NEWLINE# assert equal ( sd , s )