Module ImportFrom alias Import alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias alias alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num If NameLoad body For NameStore NameLoad body Expr Yield NameLoad orelse Break finalbody Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Raise orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Raise orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad Break decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr keyword NameLoad For NameStore Call NameLoad body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad Break decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIs Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num finalbody Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad keyword NameLoad For NameStore Call NameLoad body If BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse Expr Call AttributeLoad NameLoad 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 N/A sys winsys._compat unittest N/A uuid N/A winerror N/A win32api N/A win32con N/A win32evtlog N/A win32security N/A pywintypes winsys.tests utils testutils winsys event_logs registry utils N/A LOG_NAME N/A event_logs DEFAULT_LOG_NAME N/A GUID N/A _winsys-%s N/A N/A uuid uuid1 yield_logs N/A N/A computer log_name N/A None LOG_NAME N/A N/A hLog N/A N/A win32evtlog OpenEventLog computer log_name N/A N/A N/A True N/A N/A entries N/A N/A win32evtlog ReadEventLog hLog N/A N/A win32evtlog EVENTLOG_BACKWARDS_READ N/A win32evtlog EVENTLOG_SEQUENTIAL_READ 0 N/A entries N/A N/A entry entries N/A N/A N/A entry N/A N/A N/A N/A N/A N/A win32evtlog CloseEventLog hLog N/A TestEventLogs N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A event_logs EventSource create GUID LOG_NAME N/A N/A self registry_root N/A N/A registry registry HKLM\SYSTEM\CurrentControlSet\Services\Eventlog N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A N/A event_logs event_source N/A %s\%s N/A LOG_NAME GUID delete N/A test_create_source N/A N/A self N/A N/A N/A log_name System N/A guid N/A _winsys-test_create_source-%s N/A N/A uuid uuid1 N/A N/A N/A source N/A N/A N/A event_logs EventSource create guid log_name N/A N/A N/A self assertTrue N/A N/A N/A self registry_root log_name guid N/A N/A N/A N/A N/A N/A N/A N/A source delete N/A N/A N/A self assertFalse N/A bool N/A N/A N/A self registry_root log_name guid N/A test_create_source_at_default N/A N/A self N/A N/A N/A guid N/A _winsys-test_create_source_at_default-%s N/A N/A uuid uuid1 N/A N/A N/A source N/A N/A N/A event_logs EventSource create guid N/A N/A N/A self assertTrue N/A N/A N/A self registry_root N/A event_logs DEFAULT_LOG_NAME guid N/A N/A N/A N/A N/A N/A N/A N/A source delete N/A N/A N/A self assertFalse N/A bool N/A N/A N/A self registry_root N/A event_logs DEFAULT_LOG_NAME guid N/A test_event_sources N/A N/A self N/A N/A N/A log_name System N/A N/A N/A self assertEqual N/A set N/A N/A s name N/A s N/A N/A event_logs event_sources log_name N/A set N/A N/A r name N/A r N/A N/A self registry_root log_name N/A N/A N/A self assertTrue N/A all N/A N/A isinstance s N/A event_logs EventSource N/A s N/A N/A event_logs event_sources log_name N/A test_event_source_from_event_source N/A N/A self N/A N/A N/A s N/A N/A event_logs event_sources N/A N/A N/A N/A self assertTrue N/A isinstance s N/A event_logs EventSource N/A N/A N/A self assertTrue N/A N/A N/A event_logs event_source s s N/A N/A test_event_source_from_none N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A event_logs event_source None None N/A test_event_source_from_bad_string N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A event_logs x_event_logs N/A N/A N/A N/A event_logs event_source N/A test_event_source_from_good_string N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A event_logs event_source N/A %s\%s N/A LOG_NAME GUID N/A event_logs EventSource N/A test_event_source_from_good_string_default_log N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A event_logs event_source GUID N/A event_logs EventSource N/A test_event_source_as_string N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A N/A event_logs event_source GUID as_string N/A test_event_source_log_event N/A N/A self N/A N/A N/A data N/A N/A N/A str GUID encode utf8 N/A N/A N/A N/A N/A event_logs event_source GUID log_event data data N/A event N/A yield_logs N/A N/A N/A N/A N/A event SourceName GUID N/A N/A event Data data N/A N/A N/A N/A self assertTrue True N/A N/A N/A N/A N/A self assertTrue False N/A test_event_logs N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A set N/A N/A s name N/A s N/A N/A event_logs event_logs N/A set N/A N/A r name N/A r N/A N/A N/A self registry_root keys N/A N/A N/A self assertTrue N/A all N/A N/A isinstance s N/A event_logs EventLog N/A s N/A N/A event_logs event_logs N/A test_event_log_from_event_log N/A N/A self N/A N/A N/A l N/A N/A event_logs event_logs N/A N/A N/A N/A self assertTrue N/A isinstance l N/A event_logs EventLog N/A N/A N/A self assertTrue N/A N/A N/A event_logs event_log l l N/A N/A test_event_log_from_none N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A event_logs event_log None None N/A test_event_log_from_bad_string N/A N/A self N/A N/A N/A N/A N/A self assertRaises N/A event_logs x_event_logs N/A N/A N/A N/A event_logs event_log N/A test_event_log_from_good_string N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A isinstance N/A N/A event_logs event_log LOG_NAME N/A event_logs EventLog N/A test_event_log_clear_no_save N/A N/A self N/A N/A N/A log_name Internet Explorer N/A source_name N/A _winsys-%s N/A N/A uuid uuid1 N/A source N/A N/A N/A event_logs EventSource create source_name log_name N/A log N/A N/A event_logs event_log log_name N/A hLog N/A N/A win32evtlog OpenEventLog None log_name N/A N/A N/A N/A N/A log log_event source message hello N/A N/A N/A self assertNotEquals N/A N/A win32evtlog GetNumberOfEventLogRecords hLog 0 N/A N/A N/A log clear N/A N/A N/A self assertEqual N/A N/A win32evtlog GetNumberOfEventLogRecords hLog 0 N/A N/A N/A N/A win32evtlog CloseEventLog hLog N/A N/A N/A source delete N/A test_event_log_clear_with_save N/A N/A self N/A N/A N/A log_name Internet Explorer N/A source_name N/A _winsys-%s N/A N/A uuid uuid1 N/A source N/A N/A N/A event_logs EventSource create source_name log_name N/A log N/A N/A event_logs event_log log_name N/A hLog N/A N/A win32evtlog OpenEventLog None log_name N/A N/A N/A N/A N/A log log_event source message hello N/A N/A N/A self assertNotEquals N/A N/A win32evtlog GetNumberOfEventLogRecords hLog 0 N/A N/A N/A log clear N/A N/A N/A self assertEqual N/A N/A win32evtlog GetNumberOfEventLogRecords hLog 0 N/A N/A N/A N/A win32evtlog CloseEventLog hLog N/A N/A N/A source delete N/A test_log_event N/A N/A self N/A N/A N/A data N/A N/A N/A str GUID encode utf8 N/A N/A N/A event_logs log_event N/A %s\%s N/A LOG_NAME GUID data data N/A event N/A yield_logs N/A N/A N/A N/A N/A event SourceName GUID N/A N/A event Data data N/A N/A N/A N/A self assertTrue True N/A N/A N/A N/A N/A self assertTrue False 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...