The heat_integrationtests.functional.test_template_validate Module

class heat_integrationtests.functional.test_template_validate.StackTemplateValidateTest(*args, **kwargs)[source]

Bases: heat_integrationtests.functional.functional_base.FunctionalTestsBase

parent_template = '\nheat_template_version: 2014-10-16\ndescription: the parent template\nparameters:\n pparam:\n type: number\n default: 5\n description: the param description\nresources:\n nres:\n type: mynested.yaml\n properties:\n aparam: {get_param: pparam}\n'
parent_template_noprop = '\nheat_template_version: 2014-10-16\ndescription: the parent template\nresources:\n nres:\n type: mynested.yaml\n'
random_template = '\nheat_template_version: 2014-10-16\ndescription: the stack description\nparameters:\n aparam:\n type: number\n default: 10\n description: the param description\nresources:\n myres:\n type: OS::Heat::RandomString\n properties:\n length: {get_param: aparam}\n'
random_template_groups = '\nheat_template_version: 2014-10-16\ndescription: the stack description\nparameters:\n aparam:\n type: number\n default: 10\n description: the param description\n bparam:\n type: string\n default: foo\n cparam:\n type: string\n default: secret\n hidden: true\nparameter_groups:\n- label: str_params\n description: The string params\n parameters:\n - bparam\n - cparam\nresources:\n myres:\n type: OS::Heat::RandomString\n properties:\n length: {get_param: aparam}\n'
test_template_validate_basic()[source]
test_template_validate_basic_required_param()[source]
test_template_validate_fail_version()[source]
test_template_validate_nested_off()[source]
test_template_validate_nested_on()[source]
test_template_validate_nested_on_multiple()[source]
test_template_validate_override_default()[source]
test_template_validate_override_none()[source]
test_template_validate_parameter_groups()[source]

Previous topic

The heat_integrationtests.functional.test_template_resource Module

Next topic

The heat_integrationtests.functional.test_templates Module

Project Source

This Page