The heat_integrationtests.functional.test_heat_autoscaling Module

class heat_integrationtests.functional.test_heat_autoscaling.AutoScalingGroupUpdateWithNoChanges(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

setUp()[source]
template = '\nheat_template_version: 2013-05-23\n\nresources:\n test_group:\n type: OS::Heat::AutoScalingGroup\n properties:\n desired_capacity: 0\n max_size: 0\n min_size: 0\n resource:\n type: OS::Heat::RandomString\n test_policy:\n type: OS::Heat::ScalingPolicy\n properties:\n adjustment_type: change_in_capacity\n auto_scaling_group_id: { get_resource: test_group }\n scaling_adjustment: 1\n'
test_as_group_update_without_resource_changes()[source]
class heat_integrationtests.functional.test_heat_autoscaling.HeatAutoscalingTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

setUp()[source]
template = '\nheat_template_version: 2014-10-16\n\nresources:\n random_group:\n type: OS::Heat::AutoScalingGroup\n properties:\n max_size: 10\n min_size: 10\n resource:\n type: OS::Heat::RandomString\n\noutputs:\n all_values:\n value: {get_attr: [random_group, outputs_list, value]}\n value_0:\n value: {get_attr: [random_group, resource.0.value]}\n value_5:\n value: {get_attr: [random_group, resource.5.value]}\n value_9:\n value: {get_attr: [random_group, resource.9.value]}\n'
template_nested = '\nheat_template_version: 2014-10-16\n\nresources:\n random_group:\n type: OS::Heat::AutoScalingGroup\n properties:\n max_size: 10\n min_size: 10\n resource:\n type: randomstr.yaml\n\noutputs:\n all_values:\n value: {get_attr: [random_group, outputs_list, random_str]}\n value_0:\n value: {get_attr: [random_group, resource.0.random_str]}\n value_5:\n value: {get_attr: [random_group, resource.5.random_str]}\n value_9:\n value: {get_attr: [random_group, resource.9.random_str]}\n'
template_randomstr = '\nheat_template_version: 2013-05-23\n\nresources:\n random_str:\n type: OS::Heat::RandomString\n\noutputs:\n random_str:\n value: {get_attr: [random_str, value]}\n'
test_path_attrs()[source]
test_path_attrs_nested()[source]

Previous topic

The heat_integrationtests.functional.test_external_ref Module

Next topic

The heat_integrationtests.functional.test_hooks Module

Project Source

This Page