Module Import alias Import alias Import alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Dict Str Str Dict Str Str Str Str Str Str Str Str Dict Str Dict Str Str Dict Str Str Dict Dict Str Str Str Str Str Str Dict Str Dict Str Dict Str ListLoad Str Str Dict Str Dict Str Str Dict Str Str Str Dict Str Dict Str Str Dict Str Num Str Num Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Str Assign NameStore Dict Str ListLoad Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Dict Str Str Dict Str Str Str Dict Str Str Num Str Str Num Str NameLoad Str Assign NameStore Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Assign NameStore ListLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad decorator_list Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Dict Str Str Dict Str Str Str Dict Str Str Str Num Str Str Str Num Str NameLoad Str Assign NameStore Dict Str Str Str Dict Str Str Str Num Str Dict Str Str Str Num Str Str Str Dict FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Dict Str Str Str Str Str Str Str Str Str Str Str NameLoad Str Dict Str Str Str Str Str Str Dict Str Str Str Dict Str Str Str Num Str Str Str Num Str NameLoad Str Assign NameStore Dict Str Str Str Dict Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad ListLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad decorator_list decorator_list
N/A N/A copy N/A mock N/A six openstack.cluster.v1 profile sdk_profile openstack exceptions sdk_exc openstackclient.common exceptions exc openstackclient.common utils senlinclient.tests.unit.v1 fakes senlinclient.v1 profile osc_profile TestProfile N/A N/A fakes TestClusteringv1 N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProfile self setUp N/A N/A self mock_client N/A N/A N/A self app client_manager clustering N/A N/A TestProfileShow N/A TestProfile N/A N/A get_response N/A profile N/A created_at domain id metadata name project spec type updated_at user 2015-03-01T14:28:25 false 7fa885cd-fa39-4531-a42d-780af95c84a4 N/A test_prof1 42d9e9663331431f97b75e25136307ff N/A disable_rollback environment files parameters template type version false N/A resource_registry N/A os.heat.server OS::Heat::Server N/A file:///opt/stack/senlin/examples/profiles/test_script.sh #!/bin/bash

echo "this is a test script file"
 N/A N/A heat_template_version outputs parameters resources timeout 2014-10-16 N/A result N/A value N/A get_attr N/A random value N/A file N/A default type N/A get_file file:///opt/stack/senlin/examples/profiles/test_script.sh string N/A random N/A properties type N/A length 64 OS::Heat::RandomString 60 os.heat.stack 1.0 os.heat.stack-1.0 null 5e5bf8027826429c96af157f68dc9072 setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProfileShow self setUp N/A N/A self cmd N/A N/A osc_profile ShowProfile N/A self app None N/A N/A N/A self mock_client get_profile N/A N/A mock Mock return_value N/A N/A sdk_profile Profile attrs N/A N/A self get_response N/A profile N/A N/A utils get_dict_properties N/A N/A mock Mock return_value N/A test_profile_show N/A N/A self N/A N/A N/A arglist N/A my_profile N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client get_profile assert_called_with my_profile N/A test_profile_show_not_found N/A N/A self N/A N/A N/A arglist N/A my_profile N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self mock_client get_profile side_effect N/A N/A sdk_exc ResourceNotFound N/A N/A N/A self assertRaises N/A exc CommandError N/A N/A self cmd take_action parsed_args N/A N/A TestProfileList N/A TestProfile N/A N/A columns N/A id name type created_at N/A data N/A profiles N/A N/A created_at domain id metadata name project spec type updated_at user 2016-02-17T13:01:05 None 757347e0-6526-4a77-a16d-e099fecde123 N/A my_profile 5f1cc92b578e4e25a3b284179cf20a9b N/A properties type version N/A flavor name 1 cirros_server os.nova.server 1 os.nova.server-1.0 None 2d7aca950f3e465d8ef0c81720faf6ff N/A defaults N/A limit marker sort global_project None None None False setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProfileList self setUp N/A N/A self cmd N/A N/A osc_profile ListProfile N/A self app None N/A N/A N/A self mock_client profiles N/A N/A mock Mock return_value N/A self data N/A test_profile_list_defaults N/A N/A self N/A N/A N/A arglist N/A N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A columns data N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client profiles assert_called_with N/A self defaults N/A N/A N/A self assertEqual N/A self columns columns N/A test_profile_list_full_id N/A N/A self N/A N/A N/A arglist N/A --full-id N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A columns data N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client profiles assert_called_with N/A self defaults N/A N/A N/A self assertEqual N/A self columns columns N/A test_profile_list_limit N/A N/A self N/A N/A N/A kwargs N/A N/A copy deepcopy N/A self defaults N/A N/A kwargs N/A limit 3 N/A arglist N/A --limit 3 N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A columns data N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client profiles assert_called_with kwargs N/A N/A N/A self assertEqual N/A self columns columns N/A test_profile_list_sort N/A N/A self N/A N/A N/A kwargs N/A N/A copy deepcopy N/A self defaults N/A N/A kwargs N/A sort id:asc N/A arglist N/A --sort id:asc N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A columns data N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client profiles assert_called_with kwargs N/A N/A N/A self assertEqual N/A self columns columns N/A test_profile_list_sort_invalid_key N/A N/A self N/A N/A N/A N/A N/A self mock_client profiles N/A N/A mock Mock return_value N/A self data N/A kwargs N/A N/A copy deepcopy N/A self defaults N/A N/A kwargs N/A sort bad_key N/A arglist N/A --sort bad_key N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self mock_client profiles side_effect N/A N/A sdk_exc HttpException N/A N/A N/A self assertRaises N/A sdk_exc HttpException N/A N/A self cmd take_action parsed_args N/A test_profile_list_sort_invalid_direction N/A N/A self N/A N/A N/A N/A N/A self mock_client profiles N/A N/A mock Mock return_value N/A self data N/A kwargs N/A N/A copy deepcopy N/A self defaults N/A N/A kwargs N/A sort id:bad_direction N/A arglist N/A --sort id:bad_direction N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self mock_client profiles side_effect N/A N/A sdk_exc HttpException N/A N/A N/A self assertRaises N/A sdk_exc HttpException N/A N/A self cmd take_action parsed_args N/A test_profile_list_filter N/A N/A self N/A N/A N/A kwargs N/A N/A copy deepcopy N/A self defaults N/A N/A kwargs N/A name my_profile N/A arglist N/A --filter name=my_profile N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A columns data N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client profiles assert_called_with kwargs N/A N/A N/A self assertEqual N/A self columns columns N/A N/A TestProfileDelete N/A TestProfile N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProfileDelete self setUp N/A N/A self cmd N/A N/A osc_profile DeleteProfile N/A self app None N/A N/A N/A self mock_client delete_profile N/A N/A mock Mock N/A test_profile_delete N/A N/A self N/A N/A N/A arglist N/A profile1 profile2 profile3 N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client delete_profile assert_has_calls N/A N/A N/A mock call profile1 False N/A N/A mock call profile2 False N/A N/A mock call profile3 False N/A test_profile_delete_force N/A N/A self N/A N/A N/A arglist N/A profile1 profile2 profile3 --force N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client delete_profile assert_has_calls N/A N/A N/A mock call profile1 False N/A N/A mock call profile2 False N/A N/A mock call profile3 False N/A test_profile_delete_not_found N/A N/A self N/A N/A N/A arglist N/A my_profile N/A N/A N/A N/A self mock_client delete_profile side_effect N/A sdk_exc ResourceNotFound N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A error N/A N/A self assertRaises N/A exc CommandError N/A N/A self cmd take_action parsed_args N/A N/A N/A self assertIn Failed to delete 1 of the 1 specified profile(s). N/A str error N/A test_profile_delete_one_found_one_not_found N/A N/A self N/A N/A N/A arglist N/A profile1 profile2 N/A N/A N/A N/A self mock_client delete_profile side_effect N/A None N/A sdk_exc ResourceNotFound N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A error N/A N/A self assertRaises N/A exc CommandError N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client delete_profile assert_has_calls N/A N/A N/A mock call profile1 False N/A N/A mock call profile2 False N/A N/A N/A self assertEqual Failed to delete 1 of the 2 specified profile(s). N/A str error N/A test_profile_delete_prompt_yes N/A N/A self mock_stdin N/A N/A N/A arglist N/A my_profile N/A N/A N/A mock_stdin isatty return_value True N/A N/A N/A mock_stdin readline return_value y N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A mock_stdin readline assert_called_with N/A N/A N/A N/A N/A self mock_client delete_profile assert_called_with my_profile False N/A N/A N/A mock patch sys.stdin spec N/A six StringIO test_profile_delete_prompt_no N/A N/A self mock_stdin N/A N/A N/A arglist N/A my_profile N/A N/A N/A mock_stdin isatty return_value True N/A N/A N/A mock_stdin readline return_value n N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A mock_stdin readline assert_called_with N/A N/A N/A N/A N/A self mock_client delete_profile assert_not_called N/A N/A N/A mock patch sys.stdin spec N/A six StringIO N/A TestProfileCreate N/A TestProfile N/A N/A spec_path senlinclient/tests/test_specs/nova_server.yaml N/A response N/A profile N/A created_at domain id metadata name project spec type updated_at user 2016-02-17T12:10:57 None e3057c77-a178-4265-bafd-16b2fae50eea N/A pro-nova 5f1cc92b578e4e25a3b284179cf20a9b N/A properties type version N/A flavor image name 1 cirros-0.3.4-x86_64-uec cirros_server os.nova.server 1.0 os.nova.server-1.0 None 2d7aca950f3e465d8ef0c81720faf6ff N/A defaults N/A spec name metadata N/A version type properties 1.0 os.nova.server N/A flavor name image 1 cirros_server cirros-0.3.4-x86_64-uec my_profile N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProfileCreate self setUp N/A N/A self cmd N/A N/A osc_profile CreateProfile N/A self app None N/A N/A N/A self mock_client create_profile N/A N/A mock Mock return_value N/A N/A sdk_profile Profile attrs N/A N/A self response N/A profile N/A N/A N/A self mock_client get_profile N/A N/A mock Mock return_value N/A N/A sdk_profile Profile attrs N/A N/A self response N/A profile N/A N/A utils get_dict_properties N/A N/A mock Mock return_value N/A test_profile_create_defaults N/A N/A self N/A N/A N/A arglist N/A my_profile --spec-file N/A self spec_path N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client create_profile assert_called_with N/A self defaults N/A test_profile_create_metadata N/A N/A self N/A N/A N/A arglist N/A my_profile --spec-file N/A self spec_path --metadata key1=value1 N/A kwargs N/A N/A copy deepcopy N/A self defaults N/A N/A kwargs N/A metadata N/A key1 value1 N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client create_profile assert_called_with kwargs N/A N/A TestProfileUpdate N/A TestProfile N/A N/A response N/A profile N/A created_at domain id metadata name project spec type updated_at user 2016-02-17T12:10:57 None e3057c77-a178-4265-bafd-16b2fae50eea N/A nk1 nk2 nv1 nv2 new_profile 5f1cc92b578e4e25a3b284179cf20a9b N/A properties type version N/A flavor image name 1 cirros-0.3.4-x86_64-uec cirros_server os.nova.server 1.0 os.nova.server-1.0 None 2d7aca950f3e465d8ef0c81720faf6ff N/A defaults N/A name metadata new_profile N/A nk1 nk2 nv1 nv2 setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProfileUpdate self setUp N/A N/A self cmd N/A N/A osc_profile UpdateProfile N/A self app None N/A N/A N/A self mock_client update_profile N/A N/A mock Mock return_value N/A N/A sdk_profile Profile attrs N/A N/A self response N/A profile N/A N/A N/A self mock_client get_profile N/A N/A mock Mock return_value N/A N/A sdk_profile Profile attrs N/A N/A self response N/A profile N/A N/A N/A self mock_client find_profile N/A N/A mock Mock return_value N/A N/A sdk_profile Profile attrs N/A N/A self response N/A profile N/A N/A utils get_dict_properties N/A N/A mock Mock return_value N/A test_profile_update_defaults N/A N/A self N/A N/A N/A arglist N/A --name new_profile --metadata nk1=nv1;nk2=nv2 e3057c77 N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self cmd take_action parsed_args N/A N/A N/A N/A N/A self mock_client update_profile assert_called_with e3057c77-a178-4265-bafd-16b2fae50eea N/A self defaults N/A test_profile_update_not_found N/A N/A self N/A N/A N/A arglist N/A --name new_profile --metadata nk1=nv1;nk2=nv2 c6b8b252 N/A parsed_args N/A N/A self check_parser N/A self cmd arglist N/A N/A N/A N/A N/A self mock_client find_profile return_value None N/A error N/A N/A self assertRaises N/A exc CommandError N/A N/A self cmd take_action parsed_args N/A N/A N/A self assertIn Profile not found: c6b8b252 N/A str error N/A N/A