The heat_integrationtests.functional.test_default_parameters Module

class heat_integrationtests.functional.test_default_parameters.DefaultParametersTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

nested_template = '\nheat_template_version: 2013-05-23\nparameters:\n length:\n type: string\n default: 50\nresources:\n random1:\n type: OS::Heat::RandomString\n properties:\n length: {get_param: length}\noutputs:\n random1_value:\n value: {get_resource: random1}\n'
scenarios = [('none', {'expect2': 40, 'default': None, 'expect1': 50, 'temp_def': True, 'param': None}), ('default', {'expect2': 12, 'default': 12, 'expect1': 12, 'temp_def': True, 'param': None}), ('both', {'expect2': 15, 'default': 12, 'expect1': 12, 'temp_def': True, 'param': 15}), ('no_temp_default', {'expect2': 12, 'default': 12, 'expect1': 12, 'temp_def': False, 'param': None})]
setUp()[source]
template = '\nheat_template_version: 2013-05-23\nparameters:\n length:\n type: string\n default: 40\nresources:\n random1:\n type: nested_random.yaml\n random2:\n type: OS::Heat::RandomString\n properties:\n length: {get_param: length}\noutputs:\n random1:\n value: {get_attr: [random1, random1_value]}\n random2:\n value: {get_resource: random2}\n'
test_defaults()[source]

Previous topic

The heat_integrationtests.functional.test_create_update_neutron_subnet Module

Next topic

The heat_integrationtests.functional.test_delete Module

Project Source

This Page