[VVP] updating v6 regex for fip/ip and fip/subnet
[vvp/validation-scripts.git] / ice_validator / tests / test_nested_parameters.py
index 5c93e77..12b5768 100644 (file)
@@ -35,7 +35,6 @@
 #
 # ============LICENSE_END============================================
 #
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
 #
 
 """heat parameters
@@ -44,6 +43,7 @@ import pytest
 from tests import cached_yaml as yaml
 from tests.structures import Resource
 from .helpers import validates
+from .utils.nested_iterables import is_pseudo_param
 
 VERSION = "1.0.0"
 
@@ -58,7 +58,6 @@ def check_nested_parameter_doesnt_change(yaml_file):
         pytest.skip("No resources specified in the heat template")
 
     invalid_parameters = []
-
     """
     checking if property: { get_param: parameter }, then property == parameter
 
@@ -96,6 +95,9 @@ def check_nested_parameter_doesnt_change(yaml_file):
                     if isinstance(parameter, list):
                         parameter = parameter[0]
 
+                    if is_pseudo_param(parameter):
+                        continue
+
                     if k1 != parameter:
                         invalid_parameters.append(
                             {