X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_env_parameters_defined_in_template.py;h=937aae941a66d3517fe302c5db6a14405ee8d4e7;hb=b684ad647c3896c8bfb1e7f1ab4a962c72ce5e64;hp=9bdd56eae2daf38c6f2be7f87adc4f334afd60e1;hpb=1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_env_parameters_defined_in_template.py b/ice_validator/tests/test_env_parameters_defined_in_template.py index 9bdd56e..937aae9 100644 --- a/ice_validator/tests/test_env_parameters_defined_in_template.py +++ b/ice_validator/tests/test_env_parameters_defined_in_template.py @@ -2,7 +2,7 @@ # ============LICENSE_START======================================================= # org.onap.vvp/validation-scripts # =================================================================== -# Copyright © 2017 AT&T Intellectual Property. All rights reserved. +# Copyright © 2019 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless otherwise specified, all software contained herein is licensed @@ -35,7 +35,6 @@ # # ============LICENSE_END============================================ # -# ECOMP is a trademark and service mark of AT&T Intellectual Property. # import pytest @@ -43,12 +42,12 @@ from .helpers import validates, get_environment_pair @validates("R-599443") -def test_env_params_are_defined_in_template(heat_template): +def test_env_params_are_defined_in_template(yaml_file): """Test that each paraemter defined in an environment file is also defined in the paired heat template""" bad = [] - template_pair = get_environment_pair(heat_template) + template_pair = get_environment_pair(yaml_file) if not template_pair: pytest.skip("No yaml/env pair could be determined")