X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_software_config_resource_id.py;h=d75b924edb1584482e77693275f9ea24076e39cf;hb=0c4e64d87728b89aa9cd4d41d738f5bfe64ceee3;hp=d15ed9db8d8257c4407e723fbf34fcc41bda3416;hpb=1f4df7c7ad27b23773ad9cdbe4db1632ce388cf1;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_software_config_resource_id.py b/ice_validator/tests/test_software_config_resource_id.py index d15ed9d..d75b924 100644 --- a/ice_validator/tests/test_software_config_resource_id.py +++ b/ice_validator/tests/test_software_config_resource_id.py @@ -35,7 +35,6 @@ # # ============LICENSE_END============================================ # -# ECOMP is a trademark and service mark of AT&T Intellectual Property. # """ @@ -54,12 +53,12 @@ VERSION = "1.1.0" @validates("R-08975") -def test_software_config_vm_type(heat_template): +def test_software_config_vm_type(yaml_file): """ A VNF's Heat Orchestration Template's Resource OS::Heat::SoftwareConfig Resource ID **MUST** contain the {vm-type}. """ - heat = Heat(filepath=heat_template) + heat = Heat(filepath=yaml_file) software_configs = heat.get_resource_by_type("OS::Heat::SoftwareConfig") if not software_configs: pytest.skip("No SoftwareConfig resources found")