Module Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr CompareIn AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A unittest N/A mock superlance.compat StringIO CrashMailBatchTests N/A N/A unittest TestCase N/A N/A from_email testFrom@blah.com N/A to_emails testTo@blah.com N/A subject Test Alert N/A unexpected_err_msg Process bar:foo (pid 58597) died unexpectedly _get_target_class N/A N/A self N/A N/A superlance.crashmailbatch CrashMailBatch N/A CrashMailBatch N/A _make_one_mocked N/A N/A self N/A kwargs N/A N/A N/A kwargs N/A stdin N/A StringIO N/A N/A kwargs N/A stdout N/A StringIO N/A N/A kwargs N/A stderr N/A StringIO N/A N/A kwargs N/A from_email N/A N/A kwargs get from_email N/A self from_email N/A N/A kwargs N/A to_emails N/A N/A kwargs get to_emails N/A self to_emails N/A N/A kwargs N/A subject N/A N/A kwargs get subject N/A self subject N/A obj N/A N/A N/A self _get_target_class kwargs N/A N/A obj send_email N/A N/A mock Mock N/A obj N/A get_process_exited_event N/A N/A self pname gname expected N/A N/A N/A headers N/A ver poolserial len server eventname serial pool 3.0 7 71 supervisor PROCESS_STATE_EXITED 7 checkmailbatch N/A payload N/A processname:%s groupname:%s from_state:RUNNING expected:%d pid:58597 N/A pname gname expected N/A N/A headers payload N/A test_get_process_state_change_msg_expected N/A N/A self N/A N/A N/A crash N/A N/A self _make_one_mocked N/A N/A hdrs payload N/A N/A self get_process_exited_event foo bar 1 N/A N/A N/A self assertEqual None N/A N/A crash get_process_state_change_msg hdrs payload N/A test_get_process_state_change_msg_unexpected N/A N/A self N/A N/A N/A crash N/A N/A self _make_one_mocked N/A N/A hdrs payload N/A N/A self get_process_exited_event foo bar 0 N/A msg N/A N/A crash get_process_state_change_msg hdrs payload N/A N/A N/A self assertTrue N/A N/A self unexpected_err_msg msg N/A test_handle_event_exit_expected N/A N/A self N/A N/A N/A crash N/A N/A self _make_one_mocked N/A N/A hdrs payload N/A N/A self get_process_exited_event foo bar 1 N/A N/A N/A crash handle_event hdrs payload N/A N/A N/A self assertEqual N/A N/A N/A crash get_batch_msgs N/A N/A N/A self assertEqual N/A N/A N/A crash stderr getvalue N/A test_handle_event_exit_unexpected N/A N/A self N/A N/A N/A crash N/A N/A self _make_one_mocked N/A N/A hdrs payload N/A N/A self get_process_exited_event foo bar 0 N/A N/A N/A crash handle_event hdrs payload N/A msgs N/A N/A crash get_batch_msgs N/A N/A N/A self assertEqual 1 N/A len msgs N/A N/A N/A self assertTrue N/A N/A self unexpected_err_msg N/A msgs N/A 0 N/A N/A N/A self assertTrue N/A N/A self unexpected_err_msg N/A N/A N/A crash stderr getvalue N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main