Module Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Assign NameStore Str Assign NameStore Str ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Str ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Dict Str Str Dict Str Str Assign NameStore ListLoad Dict Str ListLoad Dict Str Str Dict Str ListLoad Dict Str Num Dict Str ListLoad Dict Str Num Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str ListLoad Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A yaml mock Mock MagicMock st2tests.base BaseActionTestCase ncm_config_download NcmConfigDownload N/A __all__ N/A NcmConfigDownloadTestCase N/A MOCK_CONFIG_BLANK N/A MOCK_CONFIG_FULL 
orion:
  host: orion-npm
  user: stanley
  password: foobar
 NcmConfigDownloadTestCase N/A BaseActionTestCase N/A N/A action_cls NcmConfigDownload test_run_no_config N/A N/A self N/A N/A N/A config N/A N/A yaml safe_load MOCK_CONFIG_BLANK N/A N/A N/A self assertRaises ValueError NcmConfigDownload config N/A test_run_basic_config N/A N/A self N/A N/A N/A config N/A N/A yaml safe_load MOCK_CONFIG_FULL N/A action N/A N/A self get_action_instance config N/A N/A N/A self assertIsInstance action NcmConfigDownload N/A test_run_connect_fail N/A N/A self N/A N/A N/A config N/A N/A yaml safe_load MOCK_CONFIG_FULL N/A action N/A N/A self get_action_instance config N/A N/A action connect N/A Mock side_effect N/A ValueError Orion host details not in the config.yaml N/A N/A N/A self assertRaises ValueError N/A action run router1 orion N/A running startup N/A test_run_ncm_node_not_found N/A N/A self N/A N/A N/A orion_data N/A results N/A N/A config N/A N/A yaml safe_load MOCK_CONFIG_FULL N/A action N/A N/A self get_action_instance config N/A N/A action connect N/A MagicMock return_value True N/A N/A action query N/A MagicMock return_value orion_data N/A N/A N/A self assertRaises IndexError N/A action run router1 orion N/A running startup N/A test_run_ncm_download_complete N/A N/A self N/A N/A N/A expected N/A running startup N/A status Complete N/A status Complete N/A query_data N/A N/A results N/A N/A NodeID abc1234 N/A results N/A N/A Status 2 N/A results N/A N/A Status 2 N/A invoke_data N/A 1234567890 N/A config N/A N/A yaml safe_load MOCK_CONFIG_FULL N/A action N/A N/A self get_action_instance config N/A N/A action connect N/A MagicMock return_value True N/A N/A action query N/A Mock side_effect query_data N/A N/A action invoke N/A MagicMock return_value invoke_data N/A result N/A N/A action run router1 orion N/A running startup N/A N/A N/A self assertEqual result expected N/A N/A