-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"]