Module ImportFrom alias ImportFrom alias Import alias alias Import alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias Assign NameStore BinOpBitOr BinOpBitOr BinOpBitOr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq Call NameLoad NameLoad Call NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr BinOpBitOr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad Str attr Expr Yield NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assert CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assert CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call NameLoad NameLoad TryFinally body Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call NameLoad NameLoad TryFinally body Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call NameLoad NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr TryFinally body Assert Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assert Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Num AttributeLoad NameLoad attr TryFinally body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assert Call NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assert CompareIs Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assert CompareIs Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Assert CompareEq Call NameLoad AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Num NameLoad Num Assert Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr UnaryOpNot BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assert BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assert UnaryOpNot BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assert BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assert UnaryOpNot BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Assert BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assert UnaryOpNot BinOpBitAnd SubscriptLoad Call AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call NameLoad Str
N/A __future__ unicode_literals __future__ with_statement N/A os sys N/A contextlib N/A tempfile winsys._compat unittest N/A uuid N/A winerror N/A win32api N/A win32con N/A win32event N/A win32file N/A win32security N/A ntsecuritycon N/A pywintypes winsys.tests utils testutils winsys security N/A OPTIONS N/A N/A N/A N/A N/A security SECURITY_INFORMATION OWNER N/A N/A security SECURITY_INFORMATION GROUP N/A N/A security SECURITY_INFORMATION DACL N/A N/A security SECURITY_INFORMATION SACL handle N/A N/A filepath N/A N/A N/A N/A N/A win32file CreateFile filepath N/A N/A ntsecuritycon GENERIC_READ N/A win32con ACCESS_SYSTEM_SECURITY N/A win32file FILE_SHARE_READ None N/A win32con OPEN_EXISTING N/A win32file FILE_ATTRIBUTE_NORMAL None N/A as_string N/A N/A sd N/A N/A N/A N/A N/A win32security ConvertSecurityDescriptorToStringSecurityDescriptor sd N/A win32security SDDL_REVISION_1 OPTIONS N/A equal N/A N/A sd security N/A N/A N/A N/A N/A as_string sd N/A str security N/A TestSecurity N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A testutils change_priv N/A win32security SE_SECURITY_NAME True N/A N/A self GUID N/A str N/A N/A uuid uuid1 N/A N/A self TEST_ROOT N/A N/A tempfile mkdtemp prefix winsys- N/A N/A N/A N/A os path isdir N/A self TEST_ROOT N/A setUpSACL N/A N/A self N/A N/A N/A sacl N/A N/A win32security ACL N/A N/A sid _ _ N/A N/A win32security LookupAccountName None N/A N/A win32api GetUserName N/A N/A N/A sacl AddAuditAccessAceEx N/A win32security ACL_REVISION_DS N/A N/A win32security OBJECT_INHERIT_ACE N/A win32security CONTAINER_INHERIT_ACE N/A ntsecuritycon FILE_ALL_ACCESS sid 1 1 N/A N/A N/A win32security SetNamedSecurityInfo N/A self TEST_ROOT N/A win32security SE_FILE_OBJECT N/A win32security SACL_SECURITY_INFORMATION None None None sacl N/A restore_access N/A N/A filepath N/A N/A N/A N/A N/A win32security SetNamedSecurityInfo filepath N/A win32security SE_FILE_OBJECT N/A N/A N/A N/A win32security DACL_SECURITY_INFORMATION N/A win32security UNPROTECTED_DACL_SECURITY_INFORMATION N/A win32security SACL_SECURITY_INFORMATION N/A win32security UNPROTECTED_SACL_SECURITY_INFORMATION None None N/A N/A win32security ACL N/A N/A win32security ACL N/A staticmethod tearDown N/A N/A self N/A N/A N/A N/A dirpath dirnames filenames N/A N/A os walk N/A self TEST_ROOT False N/A N/A filename filenames N/A N/A filepath N/A N/A N/A os path join dirpath filename N/A N/A N/A self restore_access filepath N/A N/A N/A os chmod filepath 511 N/A N/A N/A os remove filepath N/A N/A N/A os rmdir dirpath N/A test_file N/A N/A self N/A N/A N/A filepath N/A N/A N/A os path join N/A self TEST_ROOT N/A str N/A N/A uuid uuid1 N/A N/A N/A N/A open filepath w close N/A N/A filepath N/A N/A N/A N/A os path exists filepath N/A N/A N/A N/A os remove filepath N/A N/A contextlib contextmanager test_security_None N/A N/A self N/A N/A N/A N/A N/A N/A security security None None N/A test_security_default N/A N/A self N/A N/A N/A N/A N/A N/A security security N/A N/A security Security N/A test_security_Security N/A N/A self N/A N/A N/A s N/A N/A security Security N/A N/A N/A N/A security security s s N/A test_security_HANDLE_file_type N/A N/A self N/A N/A N/A N/A N/A self test_file TEST_FILE N/A N/A hFile N/A handle TEST_FILE N/A N/A N/A N/A equal N/A N/A win32security GetSecurityInfo hFile N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A security security hFile N/A N/A security SE_OBJECT_TYPE FILE_OBJECT options OPTIONS N/A N/A N/A N/A hFile Close N/A test_security_HANDLE_no_type N/A N/A self N/A N/A N/A N/A N/A self test_file TEST_FILE N/A N/A hFile N/A handle TEST_FILE N/A N/A N/A N/A equal N/A N/A win32security GetSecurityInfo hFile N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A security security hFile options OPTIONS N/A N/A N/A N/A hFile Close N/A test_security_SD N/A N/A self N/A N/A N/A N/A N/A self test_file TEST_FILE N/A N/A hFile N/A handle TEST_FILE N/A N/A N/A sa N/A N/A win32security GetSecurityInfo hFile N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A equal sa N/A N/A security security sa options OPTIONS N/A N/A N/A N/A hFile Close N/A test_security_string_no_type N/A N/A self N/A N/A N/A N/A N/A self test_file TEST_FILE N/A N/A N/A equal N/A N/A win32security GetNamedSecurityInfo TEST_FILE N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A security security TEST_FILE options OPTIONS N/A test_security_string_event N/A N/A self N/A N/A N/A hEvent N/A N/A win32event CreateEvent None 0 0 N/A self GUID N/A N/A N/A N/A equal N/A N/A win32security GetNamedSecurityInfo N/A self GUID N/A win32security SE_KERNEL_OBJECT OPTIONS N/A N/A security security N/A self GUID N/A N/A security SE_OBJECT_TYPE KERNEL_OBJECT options OPTIONS N/A N/A N/A N/A hEvent Close N/A test_security_nonsense N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_security N/A N/A N/A N/A security security object N/A test_Security_from_string N/A N/A self N/A N/A N/A N/A N/A self test_file TEST_FILE N/A N/A sd N/A N/A win32security GetNamedSecurityInfo TEST_FILE N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A equal sd N/A N/A N/A security Security from_string N/A as_string sd options OPTIONS N/A test_Security_from_security_descriptor N/A N/A self N/A N/A N/A _event N/A N/A win32event CreateEvent None 0 0 N/A self GUID N/A hEvent N/A N/A win32event OpenEvent N/A N/A win32event EVENT_ALL_ACCESS N/A win32con ACCESS_SYSTEM_SECURITY 0 N/A self GUID N/A N/A N/A sd N/A N/A win32security GetSecurityInfo hEvent N/A win32security SE_KERNEL_OBJECT OPTIONS N/A s N/A N/A N/A security Security from_security_descriptor sd originating_object hEvent originating_object_type N/A N/A security SE_OBJECT_TYPE KERNEL_OBJECT options OPTIONS N/A N/A equal sd s N/A N/A N/A s inherit_handle True N/A N/A N/A s _originating_object hEvent N/A N/A N/A s _originating_object_type N/A win32security SE_KERNEL_OBJECT N/A N/A N/A N/A hEvent Close N/A test_Security_from_object_HANDLE N/A N/A self N/A N/A N/A _event N/A N/A win32event CreateEvent None 0 0 N/A self GUID N/A hEvent N/A N/A win32event OpenEvent N/A N/A win32event EVENT_ALL_ACCESS N/A win32con ACCESS_SYSTEM_SECURITY 0 N/A self GUID N/A N/A N/A s N/A N/A N/A security Security from_object hEvent N/A N/A security SE_OBJECT_TYPE KERNEL_OBJECT options OPTIONS N/A N/A equal N/A N/A win32security GetSecurityInfo hEvent N/A win32security SE_KERNEL_OBJECT OPTIONS s N/A N/A N/A s inherit_handle True N/A N/A N/A s _originating_object hEvent N/A N/A N/A s _originating_object_type N/A win32security SE_KERNEL_OBJECT N/A N/A N/A N/A hEvent Close N/A test_Security_from_object_name N/A N/A self N/A N/A N/A hEvent N/A N/A win32event CreateEvent None 0 0 N/A self GUID N/A N/A N/A s N/A N/A N/A security Security from_object N/A self GUID N/A N/A security SE_OBJECT_TYPE KERNEL_OBJECT options OPTIONS N/A N/A equal N/A N/A win32security GetNamedSecurityInfo N/A self GUID N/A win32security SE_KERNEL_OBJECT OPTIONS s N/A N/A N/A s inherit_handle True N/A N/A N/A s _originating_object N/A self GUID N/A N/A N/A s _originating_object_type N/A win32security SE_KERNEL_OBJECT N/A N/A N/A N/A hEvent Close N/A test_Security_no_owner N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_value_not_set N/A N/A N/A N/A N/A security security owner N/A test_Security_no_group N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_value_not_set N/A N/A N/A N/A N/A security security group N/A test_Security_no_dacl N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_value_not_set N/A N/A N/A N/A N/A security security dacl N/A test_Security_no_sacl N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_value_not_set N/A N/A N/A N/A N/A security security sacl N/A test_Security_set_owner_none N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_value_not_set N/A N/A s N/A N/A security security N/A N/A s owner None N/A N/A s owner N/A test_Security_set_group_none N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A security x_value_not_set N/A N/A s N/A N/A security security N/A N/A s group None N/A N/A s group N/A test_Security_set_dacl_none N/A N/A self N/A N/A N/A s N/A N/A security security N/A N/A s dacl None N/A N/A N/A N/A N/A N/A s pyobject GetSecurityDescriptorDacl None N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A N/A N/A sd SetSecurityDescriptorDacl 1 None 0 N/A N/A equal sd s N/A test_Security_set_sacl_none N/A N/A self N/A N/A N/A s N/A N/A security security N/A N/A s sacl None N/A N/A N/A N/A N/A N/A s pyobject GetSecurityDescriptorSacl None N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A N/A N/A sd SetSecurityDescriptorSacl 1 None 0 N/A N/A equal sd s N/A test_Security_set_owner N/A N/A self N/A N/A N/A administrator N/A N/A security principal Administrator N/A s N/A N/A security security N/A N/A s owner Administrator N/A N/A N/A s owner administrator N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A N/A N/A sd SetSecurityDescriptorOwner N/A N/A administrator pyobject 0 N/A N/A equal sd s N/A test_Security_set_group N/A N/A self N/A N/A N/A everyone N/A N/A security principal Everyone N/A s N/A N/A security security N/A N/A s group Everyone N/A N/A N/A s group everyone N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A N/A N/A sd SetSecurityDescriptorGroup N/A N/A everyone pyobject 0 N/A N/A equal sd s N/A test_Security_set_dacl_empty N/A N/A self N/A N/A N/A s N/A N/A security security N/A N/A s dacl N/A N/A N/A N/A len N/A s dacl 0 N/A N/A N/A N/A N/A N/A N/A N/A s pyobject GetSecurityDescriptorDacl GetAceCount 0 N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A acl N/A N/A win32security ACL N/A N/A N/A sd SetSecurityDescriptorDacl 1 acl 0 N/A N/A equal sd s N/A test_Security_set_sacl_empty N/A N/A self N/A N/A N/A s N/A N/A security security N/A N/A s sacl N/A N/A N/A N/A len N/A s sacl 0 N/A N/A N/A N/A N/A N/A N/A N/A s pyobject GetSecurityDescriptorSacl GetAceCount 0 N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A acl N/A N/A win32security ACL N/A N/A N/A sd SetSecurityDescriptorSacl 1 acl 0 N/A N/A equal sd s N/A test_Security_add_to_dacl_simple N/A N/A self N/A N/A N/A administrator N/A N/A security principal Administrator N/A s N/A N/A security security N/A N/A s dacl N/A N/A N/A N/A N/A s dacl append N/A Administrator F ALLOW N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A dacl N/A N/A win32security ACL N/A N/A N/A dacl AddAccessAllowedAceEx N/A win32security ACL_REVISION_DS N/A N/A security DACE FLAGS N/A ntsecuritycon GENERIC_ALL N/A N/A administrator pyobject N/A N/A N/A sd SetSecurityDescriptorDacl 1 dacl 0 N/A N/A equal sd s N/A test_Security_add_to_sacl_simple N/A N/A self N/A N/A N/A administrator N/A N/A security principal Administrator N/A s N/A N/A security security N/A N/A s sacl N/A N/A N/A N/A N/A s sacl append N/A Administrator F SUCCESS N/A sd N/A N/A win32security SECURITY_DESCRIPTOR N/A sacl N/A N/A win32security ACL N/A N/A N/A sacl AddAuditAccessAceEx N/A win32security ACL_REVISION_DS N/A N/A security SACE FLAGS N/A ntsecuritycon GENERIC_ALL N/A N/A administrator pyobject 1 0 N/A N/A N/A sd SetSecurityDescriptorSacl 1 sacl 0 N/A N/A equal sd s N/A test_Security_break_dacl_inheritance_no_copy N/A N/A self N/A N/A N/A N/A N/A self test_file filepath N/A N/A s N/A N/A security security filepath options OPTIONS N/A N/A N/A s dacl inherited N/A N/A N/A s break_inheritance copy_first False break_dacl True break_sacl False N/A N/A N/A s to_object N/A sd N/A N/A win32security GetNamedSecurityInfo filepath N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A N/A self assertTrue N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_DACL_PROTECTED N/A N/A N/A self assertTrue N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_SACL_PROTECTED N/A N/A N/A self assertEqual N/A N/A N/A N/A sd GetSecurityDescriptorDacl GetAceCount 0 N/A test_Security_break_dacl_inheritance_copy N/A N/A self N/A N/A N/A N/A N/A self test_file TEST_FILE N/A N/A s N/A N/A security security TEST_FILE options OPTIONS N/A n_aces N/A len N/A s dacl N/A N/A N/A s dacl inherited N/A N/A N/A s break_inheritance copy_first True break_dacl True break_sacl False N/A N/A N/A s to_object N/A sd N/A N/A win32security GetNamedSecurityInfo TEST_FILE N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_DACL_PROTECTED N/A N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_SACL_PROTECTED N/A N/A N/A N/A N/A N/A sd GetSecurityDescriptorDacl GetAceCount n_aces N/A test_Security_break_sacl_inheritance_no_copy N/A N/A self N/A N/A N/A N/A N/A self setUpSACL N/A N/A N/A self test_file TEST_FILE N/A N/A s N/A N/A security security TEST_FILE options OPTIONS N/A N/A N/A s sacl inherited N/A N/A N/A s break_inheritance copy_first False break_dacl False break_sacl True N/A N/A N/A s to_object N/A sd N/A N/A win32security GetNamedSecurityInfo TEST_FILE N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_SACL_PROTECTED N/A N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_DACL_PROTECTED N/A N/A N/A N/A N/A N/A sd GetSecurityDescriptorSacl GetAceCount 0 N/A test_Security_break_sacl_inheritance_copy N/A N/A self N/A N/A N/A N/A N/A self setUpSACL N/A N/A N/A self test_file TEST_FILE N/A N/A s N/A N/A security security TEST_FILE options OPTIONS N/A n_aces N/A len N/A s sacl N/A N/A N/A s sacl inherited N/A N/A N/A s break_inheritance copy_first True break_dacl False break_sacl True N/A N/A N/A s to_object N/A sd N/A N/A win32security GetNamedSecurityInfo TEST_FILE N/A win32security SE_FILE_OBJECT OPTIONS N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_SACL_PROTECTED N/A N/A N/A N/A N/A N/A sd GetSecurityDescriptorControl N/A 0 N/A win32security SE_DACL_PROTECTED N/A N/A N/A N/A N/A N/A sd GetSecurityDescriptorSacl GetAceCount n_aces N/A N/A N/A N/A unittest skipUnless N/A N/A testutils i_am_admin These tests must be run as Administrator N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main N/A N/A N/A N/A sys stdout isatty N/A N/A N/A raw_input Press enter...