X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_heat_template_structure.py;fp=ice_validator%2Ftests%2Ftest_heat_template_structure.py;h=71571533224eeeafd3525ef56f3bc0f2c08218fa;hb=4b53cbbf12894610774b5e024cecb0d4e395aad3;hp=1b85dac049208874bf8e647a9f1efa99b86de7b8;hpb=ba669ca219cf8bb9dc64deff9f22941be2fb4388;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_heat_template_structure.py b/ice_validator/tests/test_heat_template_structure.py index 1b85dac..7157153 100644 --- a/ice_validator/tests/test_heat_template_structure.py +++ b/ice_validator/tests/test_heat_template_structure.py @@ -55,7 +55,9 @@ def test_heat_template_structure_contains_heat_template_version(yaml_file): Check that all heat templates have the required sections """ template = load_yaml(yaml_file) - assert "heat_template_version" in template, "This template must contain a heat_template_version section" + assert ( + "heat_template_version" in template + ), "This template must contain a heat_template_version section" @validates("R-39402") @@ -75,7 +77,9 @@ def test_heat_template_structure_contains_parameters(yaml_file): if is_base_module(yaml_file): pytest.skip("Not applicable to base modules") template = load_yaml(yaml_file) - assert "parameters" in template and len(template["parameters"].keys()), "This template must contain a parameters section" + assert "parameters" in template and len( + template["parameters"].keys() + ), "This template must contain a parameters section" @validates("R-23664")