[VVP] updating validation scripts in dublin
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_ip_parameters_start_at_0 / fail / fail.yaml
 #
 # ============LICENSE_END============================================
 #
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
-#
-
-import yaml
-import pytest
-from .utils import yaml_custom_utils
-from yaml.constructor import ConstructorError
+heat_template_version: 2015-04-30
 
+description: Simple template to deploy a single compute instance
 
-def test_unique_resources_across_yaml_file(yaml_file):
-    '''
-    Check that all instance names are unique within
-    a yaml file.
-    '''
-    yaml.add_constructor(
-        yaml.resolver.BaseResolver.DEFAULT_MAPPING_TAG,
-        yaml_custom_utils.raise_duplicates_keys)
+parameters:
+  vm1_nr1_ip_1:
+    type: string
+    label: Key Name
+    description: Name of key-pair to be used for compute instance
 
-    try:
-        with open(yaml_file) as fh:
-            yaml.load(fh)
+  vm1_nr1_ip_2:
+    type: string
+    label: Key Name
+    description: Name of key-pair to be used for compute instance
 
-        # Assert yaml file dont have resources
-        # assert len(yml["resources"]) != 0
+  vm1_nr1_v6_ip_0:
+    type: string
+    label: Key Name
+    description: Name of key-pair to be used for compute instance
 
-    except ConstructorError as ce:
-        print(ce)
-        pytest.fail("Unique resources across a yaml file - failed")
-    except Exception as e:
-        print(e)
-        pytest.skip("This yaml file cannot be tested in this test")
+  vm1_nr1_v6_ip_2:
+    type: string
+    label: Key Name
+    description: Name of key-pair to be used for compute instance
\ No newline at end of file