-def test_heat_template_structure_sections_have_the_right_format(yaml_file):
- '''
- Check that all heat templates have sections of the right format.
- Do note that it only tests for dicts or not dicts currently.
- '''
- key_values = ["heat_template_version", "description",
- "parameter_groups", "parameters", "resources",
- "outputs", "conditions"]
- key_values_not_dicts = ["heat_template_version", "description"]
+@validates("R-35414")
+def test_heat_template_structure_contains_parameters(yaml_file):
+ """
+ Check that all heat templates have the required sections
+ """
+ required_key_values = ["parameters"]