Module ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict Str ListLoad Call NameLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Dict Str ListLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str attr Assign NameStore Dict Str ListLoad Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore TupleLoad Call NameLoad Call NameLoad FunctionDef arguments args defaults body Expr Yield NameLoad Expr Yield NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad keyword ListLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Num NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Num NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword Dict With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args defaults body Expr Yield Num Expr Yield Num Expr Yield Num decorator_list Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call NameLoad Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad keyword Call NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults NameLoad BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam NameParam defaults NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict keyword AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad Num NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str Str Str NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Str Str NameLoad NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list Call NameLoad Str NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults kwarg body FunctionDef arguments args defaults body Expr Yield Num Expr Yield Num decorator_list Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A __future__ absolute_import mock ANY patch cell.actors Actor cell.agents dAgent cell.exceptions CellError NoReplyError cell.results AsyncResult cell.tests.utils Case Mock with_in_memory_connection kombu.utils uuid N/A __author__ rumi A N/A Actor N/A N/A N/A Ag N/A dAgent N/A get_default_scatter_limit N/A N/A self N/A N/A N/A 5 N/A N/A test_AsyncResuls N/A Case N/A get_async_result N/A N/A self N/A N/A N/A ticket N/A uuid N/A actor N/A Mock N/A ares N/A AsyncResult ticket actor N/A ares N/A test_init N/A N/A self N/A N/A N/A ticket N/A uuid N/A actor N/A Mock N/A ares N/A AsyncResult ticket actor N/A N/A N/A self assertEquals N/A ares ticket ticket N/A N/A N/A self assertEqual N/A ares actor actor N/A N/A N/A self assertIsNone N/A ares _result N/A N/A N/A self assertEqual N/A ares Error CellError N/A N/A N/A self assertEqual N/A ares NoReplyError NoReplyError N/A N/A N/A self assertRaises TypeError N/A N/A N/A AsyncResult ticket N/A test_result_when_result_is_set N/A N/A self N/A N/A N/A val the quick brown fox N/A ares N/A N/A self get_async_result N/A N/A ares get N/A Mock N/A N/A ares _result val N/A res N/A N/A ares result N/A N/A N/A self assertEqual res val N/A N/A N/A self assertEqual N/A N/A ares get call_count 0 N/A test_result_when_result_is_not_set N/A N/A self N/A N/A N/A val the quick brown fox N/A ares N/A N/A self get_async_result N/A N/A ares get N/A Mock return_value val N/A res N/A N/A ares result N/A N/A N/A self assertEqual res val N/A N/A N/A self assertEqual N/A ares _result res N/A N/A N/A N/A ares get assert_called_once_with N/A test_to_python N/A N/A self N/A N/A N/A ok_message N/A ok the quick_brown_fox N/A ares N/A N/A self get_async_result N/A res N/A N/A ares to_python ok_message N/A N/A N/A self assertEqual res N/A ok_message N/A ok N/A ok_message N/A ok foo the quick_brown_fox the quick_brown_fox N/A res N/A N/A ares to_python ok_message N/A N/A N/A self assertEqual res N/A ok_message N/A ok N/A ok_message N/A ok nok the quick_brown_fox the quick_brown_fox N/A res N/A N/A ares to_python ok_message N/A N/A N/A self assertEqual res N/A ok_message N/A ok N/A error_message N/A nok N/A N/A Exception jump over N/A N/A N/A self assertRaises N/A ares Error N/A N/A N/A N/A ares to_python error_message N/A N/A N/A self assertRaises N/A ares Error N/A N/A N/A N/A ares to_python error_message propagate True N/A error_message N/A nok N/A jump over None N/A res N/A N/A ares to_python error_message propagate False N/A N/A N/A self assertEquals N/A res __dict__ N/A N/A N/A ares Error N/A N/A error_message get nok __dict__ N/A error_message N/A foo N/A jump over N/A N/A N/A self assertRaises N/A ares Error N/A N/A N/A N/A ares to_python error_message N/A error_message N/A foo nok the quick_brown_fox N/A jump over N/A res N/A N/A ares to_python error_message propagate False N/A N/A N/A self assertEqual N/A res __dict__ N/A N/A N/A ares Error N/A error_message N/A nok __dict__ N/A test_get N/A N/A self N/A N/A N/A N/A id1 id2 N/A N/A uuid N/A uuid gather N/A N/A N/A N/A N/A N/A id1 N/A N/A id2 N/A N/A ares N/A N/A self get_async_result N/A N/A ares gather N/A Mock return_value N/A 1 N/A N/A N/A ares get N/A N/A N/A N/A ares gather assert_called_once_with limit 1 N/A N/A N/A N/A ares gather reset_mock N/A kwargs N/A timeout ignore_timeout foo propaget 100 False bar True N/A N/A N/A ares get kwargs N/A N/A N/A N/A ares gather assert_called_once_with N/A dict kwargs limit 1 N/A N/A N/A N/A ares gather reset_mock N/A kwargs N/A timeout ignore_timeout limit 100 False 10 N/A N/A N/A ares get kwargs N/A N/A N/A N/A ares gather assert_called_once_with kwargs N/A N/A N/A N/A ares gather reset_mock N/A N/A ares gather N/A Mock return_value N/A gather N/A res N/A N/A ares get N/A N/A N/A self assertEqual res id1 N/A N/A ares gather N/A Mock return_value None N/A N/A N/A self assertRaises N/A ares NoReplyError N/A N/A N/A N/A ares get N/A N/A N/A N/A ares gather reset_mock N/A N/A ares gather N/A Mock return_value N/A N/A N/A N/A self assertRaises N/A ares NoReplyError N/A N/A N/A N/A ares get N/A test_gather N/A N/A self conn N/A N/A collect_replies N/A N/A N/A N/A N/A N/A 1 N/A N/A 2 N/A N/A 3 N/A N/A ticket N/A uuid N/A actor N/A Actor conn N/A N/A actor _collect_replies N/A Mock return_value N/A collect_replies N/A ares N/A AsyncResult ticket actor N/A N/A ares to_python N/A Mock N/A all N/A N/A ares gather N/A N/A list all N/A N/A N/A N/A actor _collect_replies assert_caleld_once_with conn ANY ticket N/A N/A N/A self assertEqual N/A N/A ares to_python call_count N/A len N/A list N/A collect_replies N/A N/A N/A N/A actor _collect_replies reset_mock N/A N/A actor _collect_replies N/A Mock return_value N/A collect_replies N/A prev_to_python N/A ares to_python N/A new_to_python N/A N/A N/A x propagate N/A True N/A called_%s x N/A N/A ares to_python new_to_python N/A all N/A N/A ares gather N/A vals N/A list all N/A expected_vals N/A N/A new_to_python i N/A i N/A collect_replies N/A N/A N/A N/A actor _collect_replies assert_caleld_once_with conn ANY ticket N/A N/A N/A self assertEqual vals expected_vals N/A N/A ares to_python prev_to_python N/A with_in_memory_connection test_gather_kwargs N/A N/A self conn collect N/A N/A N/A actor N/A Actor conn N/A ares N/A AsyncResult N/A uuid actor N/A prev_to_python N/A ares to_python N/A new_to_python N/A N/A N/A x propagate N/A True x N/A N/A ares to_python new_to_python N/A N/A N/A self assert_gather_kwargs ares collect N/A timeout N/A actor default_timeout ignore_timeout False N/A N/A actor agent N/A dAgent conn N/A N/A N/A self assert_gather_kwargs ares collect N/A timeout N/A actor default_timeout limit None ignore_timeout False N/A ag N/A Ag conn N/A N/A actor agent ag N/A N/A N/A self assert_gather_kwargs ares collect N/A timeout N/A actor default_timeout limit N/A N/A ag get_default_scatter_limit N/A N/A actor agent N/A Ag conn N/A N/A timeout ignore_timeout limit N/A 200.0 False N/A uuid N/A N/A N/A self assert_gather_kwargs ares collect N/A timeout ignore_timeout limit timeout ignore_timeout limit timeout timeout limit limit ignore_timeout ignore_timeout N/A N/A actor agent None N/A N/A timeout ignore_timeout N/A 200.0 True N/A N/A N/A self assert_gather_kwargs ares collect N/A timeout ignore_timeout timeout ignore_timeout timeout timeout ignore_timeout ignore_timeout N/A N/A ares to_python prev_to_python N/A N/A patch cell.actors.collect_replies with_in_memory_connection assert_gather_kwargs N/A N/A self ares collect args N/A kwargs N/A drain N/A N/A N/A N/A N/A N/A 1 N/A N/A 2 N/A N/A N/A collect return_value N/A drain N/A all N/A N/A ares gather args N/A N/A N/A self assertEqual N/A list all N/A list N/A drain N/A N/A N/A collect assert_called_once_with ANY ANY ANY kwargs N/A N/A N/A collect reset_mock N/A N/A