Module Import alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str decorator_list
N/A N/A mock rally.plugins.openstack.scenarios.heat stacks tests.unit test N/A HEAT_STACKS rally.plugins.openstack.scenarios.heat.stacks.HeatStacks HeatStacksTestCase N/A N/A test ScenarioTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super HeatStacksTestCase self setUp N/A N/A self default_template heat_template_version: 2013-05-23 N/A N/A self default_parameters N/A dummy_param dummy_key N/A N/A self default_files N/A dummy_file.yaml N/A N/A self default_environment N/A env dummy_env N/A N/A self default_output_key dummy_output_key N/A test_create_and_list_stack N/A N/A self mock__create_stack mock__list_stacks mock_generate_random_name N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A mock_generate_random_name return_value test-rally-stack N/A N/A N/A heat_scenario create_and_list_stack template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__list_stacks assert_called_once_with N/A N/A N/A mock patch N/A HEAT_STACKS .generate_random_name N/A N/A mock patch N/A HEAT_STACKS ._list_stacks N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_list_stack_and_resources N/A N/A self mock__list_stacks N/A N/A N/A stack N/A N/A mock Mock N/A N/A mock__list_stacks return_value N/A stack N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario list_stacks_and_resources N/A N/A N/A N/A N/A N/A N/A self clients heat resources list assert_called_once_with N/A stack id N/A N/A N/A self _test_atomic_action_timer N/A N/A heat_scenario atomic_actions heat.list_resources_of_1_stacks N/A N/A N/A mock patch N/A HEAT_STACKS ._list_stacks test_list_stack_and_events N/A N/A self mock__list_stacks N/A N/A N/A stack N/A N/A mock Mock N/A N/A mock__list_stacks return_value N/A stack N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario list_stacks_and_events N/A N/A N/A N/A N/A N/A N/A self clients heat events list assert_called_once_with N/A stack id N/A N/A N/A self _test_atomic_action_timer N/A N/A heat_scenario atomic_actions heat.list_events_of_1_stacks N/A N/A N/A mock patch N/A HEAT_STACKS ._list_stacks test_create_and_delete_stack N/A N/A self mock__create_stack mock__delete_stack mock_generate_random_name N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A fake_stack N/A object N/A N/A mock__create_stack return_value fake_stack N/A N/A mock_generate_random_name return_value test-rally-stack N/A N/A N/A heat_scenario create_and_delete_stack template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__delete_stack assert_called_once_with fake_stack N/A N/A N/A mock patch N/A HEAT_STACKS .generate_random_name N/A N/A mock patch N/A HEAT_STACKS ._delete_stack N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_check_delete_stack N/A N/A self mock__create_stack mock__check_stack mock__delete_stack N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario create_check_delete_stack template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__check_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock__delete_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock patch N/A HEAT_STACKS ._delete_stack N/A N/A mock patch N/A HEAT_STACKS ._check_stack N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_update_delete_stack N/A N/A self mock__create_stack mock__update_stack mock__delete_stack mock_generate_random_name N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A fake_stack N/A object N/A N/A mock__create_stack return_value fake_stack N/A N/A mock_generate_random_name return_value test-rally-stack N/A N/A N/A heat_scenario create_update_delete_stack template_path N/A self default_template parameters N/A self default_parameters updated_template_path N/A self default_template files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__update_stack assert_called_once_with fake_stack N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__delete_stack assert_called_once_with fake_stack N/A N/A N/A mock patch N/A HEAT_STACKS .generate_random_name N/A N/A mock patch N/A HEAT_STACKS ._delete_stack N/A N/A mock patch N/A HEAT_STACKS ._update_stack N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_stack_and_scale N/A N/A self N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A stack N/A N/A mock Mock N/A N/A heat_scenario _create_stack N/A N/A mock Mock return_value stack N/A N/A heat_scenario _scale_stack N/A N/A mock Mock N/A N/A N/A heat_scenario create_stack_and_scale N/A self default_template key -1 parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A N/A heat_scenario _create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A N/A heat_scenario _scale_stack assert_called_once_with stack key -1 N/A test_create_suspend_resume_delete_stack N/A N/A self mock__create_stack mock__suspend_stack mock__resume_stack mock__delete_stack N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario create_suspend_resume_delete_stack template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__suspend_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock__resume_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock__delete_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock patch N/A HEAT_STACKS ._delete_stack N/A N/A mock patch N/A HEAT_STACKS ._resume_stack N/A N/A mock patch N/A HEAT_STACKS ._suspend_stack N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_snapshot_restore_delete_stack N/A N/A self mock__create_stack mock__snapshot_stack mock__restore_stack mock__delete_stack N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A mock__snapshot_stack return_value N/A id dummy_id N/A N/A N/A heat_scenario create_snapshot_restore_delete_stack template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__snapshot_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock__restore_stack assert_called_once_with N/A mock__create_stack return_value dummy_id N/A N/A N/A mock__delete_stack assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock patch N/A HEAT_STACKS ._delete_stack N/A N/A mock patch N/A HEAT_STACKS ._restore_stack N/A N/A mock patch N/A HEAT_STACKS ._snapshot_stack N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_and_show_output_via_API N/A N/A self mock__create_stack mock__stack_show_output_via_api N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario create_stack_and_show_output_via_API template_path N/A self default_template output_key N/A self default_output_key parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__stack_show_output_via_api assert_called_once_with N/A mock__create_stack return_value N/A self default_output_key N/A N/A N/A mock patch N/A HEAT_STACKS ._stack_show_output_via_API N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_and_show_output N/A N/A self mock__create_stack mock__stack_show_output N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario create_stack_and_show_output template_path N/A self default_template output_key N/A self default_output_key parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__stack_show_output assert_called_once_with N/A mock__create_stack return_value N/A self default_output_key N/A N/A N/A mock patch N/A HEAT_STACKS ._stack_show_output N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_and_list_output_via_API N/A N/A self mock__create_stack mock__stack_list_output_via_api N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario create_stack_and_list_output_via_API template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__stack_list_output_via_api assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock patch N/A HEAT_STACKS ._stack_list_output_via_API N/A N/A mock patch N/A HEAT_STACKS ._create_stack test_create_and_list_output N/A N/A self mock__create_stack mock__stack_list_output N/A N/A N/A heat_scenario N/A N/A stacks HeatStacks N/A self context N/A N/A N/A heat_scenario create_stack_and_list_output template_path N/A self default_template parameters N/A self default_parameters files N/A self default_files environment N/A self default_environment N/A N/A N/A mock__create_stack assert_called_once_with N/A self default_template N/A self default_parameters N/A self default_files N/A self default_environment N/A N/A N/A mock__stack_list_output assert_called_once_with N/A mock__create_stack return_value N/A N/A N/A mock patch N/A HEAT_STACKS ._stack_list_output N/A N/A mock patch N/A HEAT_STACKS ._create_stack N/A