[VVP] udpating scripts for casablanca 2
[vvp/validation-scripts.git] / ice_validator / tests / test_unique_resources_across_template.py
index 6bfc43c..b811cdb 100644 (file)
@@ -55,10 +55,10 @@ def test_unique_resources_across_yaml_file(yaml_file):
 
     try:
         with open(yaml_file) as fh:
-            yml = yaml.load(fh)
+            yaml.load(fh)
 
         # Assert yaml file dont have resources
-        assert len(yml["resources"]) != 0
+        assert len(yml["resources"]) != 0
 
     except ConstructorError as ce:
         print(ce)