Module Import alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Dict Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword Str Call NameLoad Assign NameStore Dict Str Str Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword Str keyword NameLoad Call NameLoad Assign NameStore Dict Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad keyword Str decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Call NameLoad keyword Str keyword NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Str keyword NameLoad decorator_list Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list
N/A N/A mock N/A testtools shaker.agent agent TestAgent N/A N/A testtools TestCase N/A test_work_act_idle N/A N/A self mock_sleep N/A N/A N/A agent_id the-agent N/A polling_interval 10 N/A mock_socket N/A N/A mock Mock N/A N/A N/A mock_socket recv_json side_effect N/A N/A N/A N/A N/A agent work_act mock_socket agent_id polling_interval N/A N/A N/A mock_sleep assert_called_once_with polling_interval N/A N/A N/A N/A mock_socket send_json assert_called_once_with N/A dict operation poll agent_id agent_id N/A N/A N/A N/A mock_socket recv_json assert_called_once_with N/A N/A N/A mock patch shaker.agent.agent.sleep test_work_act_execute N/A N/A self mock_run_command mock_sleep N/A N/A N/A agent_id the-agent N/A polling_interval 10 N/A mock_socket N/A N/A mock Mock N/A N/A N/A mock_socket recv_json side_effect N/A N/A dict operation execute N/A dict N/A execute_result N/A res data N/A N/A mock_run_command return_value execute_result N/A N/A N/A agent work_act mock_socket agent_id polling_interval N/A N/A N/A mock_sleep assert_called_once_with polling_interval N/A N/A N/A N/A mock_socket send_json assert_has_calls N/A N/A N/A mock call N/A dict operation poll agent_id agent_id N/A N/A mock call N/A dict operation reply agent_id agent_id res data N/A N/A N/A mock patch shaker.agent.agent.sleep N/A N/A mock patch shaker.agent.agent.run_command test_work_act_schedule N/A N/A self mock_run_command mock_now mock_sleep N/A N/A N/A agent_id the-agent N/A polling_interval 10 N/A start_at 1234 N/A now 1230 N/A mock_socket N/A N/A mock Mock N/A N/A N/A mock_socket recv_json side_effect N/A N/A dict operation execute start_at start_at N/A dict N/A execute_result N/A res data N/A N/A mock_run_command return_value execute_result N/A N/A mock_now return_value now N/A N/A N/A agent work_act mock_socket agent_id polling_interval N/A N/A N/A mock_sleep assert_has_calls N/A N/A N/A mock call N/A start_at now N/A N/A mock call polling_interval N/A N/A N/A N/A mock_socket send_json assert_has_calls N/A N/A N/A mock call N/A dict operation poll agent_id agent_id N/A N/A mock call N/A dict operation reply agent_id agent_id res data N/A N/A N/A mock patch shaker.agent.agent.sleep N/A N/A mock patch shaker.agent.agent.time_now N/A N/A mock patch shaker.agent.agent.run_command test_work_act_configure N/A N/A self mock_run_command mock_sleep N/A N/A N/A agent_id the-agent N/A polling_interval 10 N/A mock_socket N/A N/A mock Mock N/A N/A N/A mock_socket recv_json side_effect N/A N/A dict operation configure polling_interval polling_interval N/A dict N/A N/A N/A agent work_act mock_socket agent_id polling_interval N/A N/A N/A mock_sleep assert_has_calls N/A N/A N/A mock call polling_interval N/A N/A N/A N/A mock_socket send_json assert_has_calls N/A N/A N/A mock call N/A dict operation poll agent_id agent_id N/A N/A mock call N/A dict operation reply agent_id agent_id N/A N/A N/A mock patch shaker.agent.agent.sleep N/A N/A mock patch shaker.agent.agent.run_command N/A