[VVP] Performance Enhancements (report generation and test collection)
[vvp/validation-scripts.git] / ice_validator / tests / test_nova_servers_vm_types.py
index 97b6418..d3d0dbb 100644 (file)
@@ -50,12 +50,12 @@ from .utils.network_roles import get_network_roles
 
 
 @validates("R-57282")
 
 
 @validates("R-57282")
-def test_vm_type_consistent_on_nova_servers(heat_template):
+def test_vm_type_consistent_on_nova_servers(yaml_file):
     """
     Make sure all nova servers have properly formatted properties
     for their name, image and flavor
     """
     """
     Make sure all nova servers have properly formatted properties
     for their name, image and flavor
     """
-    with open(heat_template) as fh:
+    with open(yaml_file) as fh:
         yml = yaml.load(fh)
 
     # skip if resources are not defined
         yml = yaml.load(fh)
 
     # skip if resources are not defined