Module Assign NameStore Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call NameLoad keyword Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Call NameLoad keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Call NameLoad keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list Call NameLoad Str
N/A N/A __author__ Michael Meisinger unittest SkipTest nose.plugins.attrib attr pyon.agent.simple_agent SimpleResourceAgent pyon.agent.agent ResourceAgentClient pyon.public IonObject pyon.util.int_test IonIntegrationTestCase SampleAgent N/A SimpleResourceAgent N/A N/A dependencies N/A N/A TestResourceAgentClient N/A IonIntegrationTestCase N/A test_agent_registration N/A N/A self N/A N/A N/A N/A N/A self _start_container N/A idev N/A IonObject InstrumentDevice name any_resource N/A N/A idev_id _ N/A N/A N/A N/A self container resource_registry create idev N/A config N/A dict agent N/A dict resource_id idev_id N/A pid1 N/A N/A N/A self container spawn_process agent1 pyon.agent.test.test_agent SampleAgent config N/A rac N/A ResourceAgentClient idev_id N/A rac_pid N/A N/A rac get_agent_process_id N/A rac_de N/A N/A rac get_agent_directory_entry N/A N/A N/A self assertEquals rac_pid pid1 N/A N/A N/A N/A N/A self container directory register /Agents fake_pid N/A dict name agent1 container N/A N/A self container id resource_id idev_id agent_id fake N/A entries N/A N/A N/A N/A self container directory find_by_value /Agents resource_id idev_id N/A N/A N/A self assertEquals N/A len entries 2 N/A rac N/A ResourceAgentClient idev_id N/A rac_pid1 N/A N/A rac get_agent_process_id N/A N/A N/A self assertEquals rac_pid1 fake_pid N/A entries N/A N/A N/A N/A self container directory find_by_value /Agents resource_id idev_id N/A N/A N/A self assertEquals N/A len entries 1 N/A N/A N/A N/A N/A self container directory register /Agents pid1 N/A dict name agent1 container N/A N/A self container id resource_id idev_id agent_id N/A N/A rac_de attributes N/A agent_id N/A rac N/A ResourceAgentClient idev_id N/A rac_pid1 N/A N/A rac get_agent_process_id N/A N/A N/A self assertEquals rac_pid1 pid1 N/A entries N/A N/A N/A N/A self container directory find_by_value /Agents resource_id idev_id N/A N/A N/A self assertEquals N/A len entries 1 N/A N/A N/A N/A self container terminate_process pid1 N/A N/A N/A attr INT