Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq NameLoad Str BinOpMod Str NameLoad Return Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Dict Assert CompareEq AttributeLoad NameLoad attr Str Assert Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body If CompareLtE NameLoad Num body Raise Call NameLoad Str NameLoad Assign TupleStore NameStore NameStore Yield Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Assign TupleStore NameStore NameStore Yield TupleLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Assign TupleStore NameStore NameStore Yield TupleLoad Str Lambda arguments args NameParam NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad Assign TupleStore NameStore NameStore Yield Call NameLoad BinOpSub NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str BinOpSub NameLoad Num NameLoad Raise Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareLtE NameLoad Num body Return Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Str Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Dict Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Str Str Expr Call NameLoad BinOpSub NameLoad Num decorator_list Assign NameStore ListLoad NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call NameLoad NameLoad Assert SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str FunctionDef arguments args defaults body Assign SubscriptStore NameLoad Index Num Yield Str Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body FunctionDef arguments args defaults body Assign SubscriptStore NameLoad Index Num Yield Str Raise Call NameLoad Str decorator_list FunctionDef arguments args defaults body Expr Yield Call NameLoad decorator_list TryExcept body Expr Yield Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call AttributeLoad Call NameLoad Str attr NameLoad decorator_list FunctionDef arguments args defaults body Assign SubscriptStore NameLoad Index Num Yield Str Expr BinOpDiv Num Num decorator_list FunctionDef arguments args defaults body TryExcept body Expr Yield Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr orelse Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Yield Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr orelse Expr Call AttributeLoad NameLoad attr Str TryExcept body Expr Yield Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Pass orelse Expr Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num decorator_list decorator_list
N/A N/A random collections defaultdict unittest TestCase spockbot.plugins.core.taskmanager TaskManager spockbot.plugins.tools.task Task TaskFailed EventMock N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self handlers N/A defaultdict list N/A reg_event_handler N/A N/A self evt handler N/A N/A N/A N/A N/A N/A N/A self handlers N/A evt append handler N/A emit N/A N/A self event data N/A N/A N/A to_remove N/A N/A handler N/A reversed N/A N/A self handlers N/A event N/A N/A N/A handler event data N/A N/A N/A N/A to_remove append handler N/A N/A N/A AssertionError N/A %s %s N/A N/A handler __name__ handler N/A handler to_remove N/A N/A N/A N/A N/A N/A self handlers N/A event remove handler N/A N/A PluginLoaderMock N/A object N/A provides N/A N/A self ident obj N/A N/A N/A N/A self provides_ident ident N/A N/A self provides_obj obj N/A requires N/A N/A self plug_name N/A N/A N/A N/A plug_name Event N/A Unexpected requirement %s plug_name N/A N/A EventMock N/A N/A TaskManagerTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A ploader N/A PluginLoaderMock N/A N/A self task_manager N/A TaskManager ploader N/A N/A N/A N/A ploader provides_ident TaskManager N/A N/A isinstance N/A ploader provides_obj TaskManager N/A test_run_task N/A N/A self N/A N/A some_task N/A N/A level N/A N/A N/A N/A level 0 N/A N/A N/A StopIteration We are done! level N/A N/A event data N/A some_event N/A N/A N/A self assertEqual some_event event N/A N/A N/A self assertDictEqual N/A some data data N/A N/A event data N/A N/A other_event never_emitted this_neither N/A N/A N/A self assertEqual other_event event N/A N/A N/A self assertDictEqual N/A other data data N/A N/A event data N/A N/A cool_event N/A N/A N/A e d N/A True N/A N/A N/A self assertEqual cool_event event N/A N/A N/A self assertDictEqual N/A more data data N/A N/A event data N/A N/A some_task N/A level 1 N/A N/A N/A self assertEqual None event N/A N/A N/A self assertTupleEqual N/A We are done! N/A level 1 data N/A N/A StopIteration We are done! level N/A emit_them N/A N/A level N/A N/A N/A Recursively emit and check the events waited for by the task N/A N/A level 0 N/A N/A N/A N/A N/A self assertIn some_event N/A N/A N/A self task_manager event handlers Event not registered N/A N/A N/A N/A N/A self task_manager event emit some_event N/A some data N/A N/A N/A self assertFalse N/A N/A N/A N/A self task_manager event handlers N/A some_event Emitted event not unregistered N/A N/A N/A self assertIn other_event N/A N/A N/A self task_manager event handlers Event not registered N/A N/A N/A self assertIn never_emitted N/A N/A N/A self task_manager event handlers Event not registered N/A N/A N/A self assertIn this_neither N/A N/A N/A self task_manager event handlers Event not registered N/A N/A N/A N/A N/A self task_manager event emit other_event N/A other data N/A N/A N/A self assertFalse N/A N/A N/A N/A self task_manager event handlers N/A other_Event Emitted event not unregistered N/A N/A N/A self assertIn cool_event N/A N/A N/A self task_manager event handlers Event not registered N/A N/A N/A N/A N/A self task_manager event emit cool_event N/A more data N/A N/A N/A self assertFalse N/A N/A N/A N/A self task_manager event handlers N/A cool_event Emitted event not unregistered N/A N/A emit_them N/A level 1 N/A N/A done N/A False N/A test_case self SomeParent N/A object N/A on_success N/A N/A self data N/A N/A N/A N/A done N/A 0 True N/A on_error N/A N/A self e N/A N/A N/A N/A N/A test_case fail N/A Task failed with %s: %s N/A N/A N/A e __class__ __name__ N/A e args N/A N/A N/A levels 3 N/A task N/A some_task levels N/A parent N/A SomeParent N/A ret N/A N/A N/A self task_manager run_task task parent N/A N/A N/A self assertIsInstance ret Task N/A N/A emit_them levels N/A N/A done N/A 0 N/A test_failure N/A N/A self N/A N/A N/A last_data N/A started task_with_failure N/A N/A N/A N/A N/A N/A last_data N/A 0 N/A bbbb N/A N/A TaskFailed Some error! N/A task_deep_failure N/A N/A N/A N/A task_deepest_failure N/A N/A N/A N/A N/A N/A last_data N/A 0 N/A cccc N/A N/A TaskFailed Low level error! N/A task_deeper_failure N/A N/A N/A N/A N/A N/A N/A task_deepest_failure N/A N/A N/A N/A N/A N/A task_deeper_failure N/A N/A N/A TaskFailed N/A error N/A N/A N/A N/A N/A TaskFailed High level error! with_error error N/A task_with_exception N/A N/A N/A N/A N/A N/A last_data N/A 0 N/A dddd N/A N/A 1 0 N/A top_task N/A N/A N/A N/A N/A N/A N/A N/A N/A task_with_failure N/A N/A N/A TaskFailed N/A e N/A N/A N/A N/A self assertEqual Some error! N/A e message N/A N/A N/A self assertEqual None N/A e prev_error N/A N/A N/A self assertEqual 1 N/A len N/A e tasktrace N/A N/A N/A self assertEqual task_with_failure N/A N/A N/A e tasktrace N/A 0 name N/A N/A N/A self assertEqual 1 N/A len N/A e full_tasktrace N/A N/A N/A self assertEqual task_with_failure N/A N/A N/A e full_tasktrace N/A 0 name N/A N/A N/A N/A self fail TaskFailed not passed into task N/A N/A N/A N/A N/A task_deep_failure N/A N/A N/A TaskFailed N/A e N/A N/A N/A N/A self assertEqual High level error! N/A e message N/A N/A N/A self assertEqual Low level error! N/A N/A e prev_error message N/A N/A N/A self assertEqual None N/A N/A e prev_error prev_error N/A N/A N/A self assertEqual 1 N/A len N/A e tasktrace N/A N/A N/A self assertEqual task_deep_failure N/A N/A N/A e tasktrace N/A 0 name N/A N/A N/A self assertEqual 3 N/A len N/A e full_tasktrace N/A N/A N/A self assertEqual task_deepest_failure N/A N/A N/A e full_tasktrace N/A 0 name N/A N/A N/A self assertEqual task_deeper_failure N/A N/A N/A e full_tasktrace N/A 1 name N/A N/A N/A self assertEqual task_deep_failure N/A N/A N/A e full_tasktrace N/A 2 name N/A N/A N/A N/A self fail TaskFailed not passed through tasks N/A N/A N/A N/A N/A task_with_exception N/A N/A N/A ZeroDivisionError N/A e N/A N/A N/A N/A N/A N/A self fail Exception not passed into task N/A N/A task N/A top_task N/A ret N/A N/A N/A self task_manager run_task task N/A N/A N/A self assertIsInstance ret Task N/A N/A N/A self assertEqual started N/A last_data N/A 0 N/A N/A N/A self emit_and_check bbbb last_data N/A N/A N/A self emit_and_check cccc last_data N/A N/A N/A self emit_and_check dddd last_data N/A emit_and_check N/A N/A self event last_data N/A N/A N/A data N/A N/A random random N/A N/A N/A N/A N/A self task_manager event emit event data N/A N/A N/A self assertEqual event N/A N/A last_data N/A 0 N/A 0 N/A N/A N/A self assertEqual data N/A N/A last_data N/A 0 N/A 1 N/A N/A