X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_initial_configuration.py;h=83f887c54e7d6854444cbbd1bcba40ff54b5ea65;hb=refs%2Fchanges%2F03%2F77903%2F2;hp=3ecfb59ffc86925e47980f1c26ae16780999a378;hpb=10535815da964c683e5f91030934652bfb3f53b8;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_initial_configuration.py b/ice_validator/tests/test_initial_configuration.py index 3ecfb59..83f887c 100644 --- a/ice_validator/tests/test_initial_configuration.py +++ b/ice_validator/tests/test_initial_configuration.py @@ -184,11 +184,11 @@ def test_05_all_get_param_have_defined_parameter(yaml_file): @validates("R-90152") @pytest.mark.base -def test_06_heat_template_resource_section_has_resources(yaml_file): +def test_06_heat_template_resource_section_has_resources(heat_template): found_resource = False - with open(yaml_file) as fh: + with open(heat_template) as fh: yml = yaml.load(fh) resources = yml.get("resources")