aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-03-05 09:28:12 -0600
committerLovett, Trevor (tl2972) <tl2972@att.com>2019-03-05 09:34:29 -0600
commit125564bb4377889534258782e5a9bcb5fb6d0896 (patch)
tree11114e7034d6041c66d2742351fbcecaaf26b2ed
parent27299a14f4e0b70b495891314c6b6662a5b05ce5 (diff)
[VVP] Allow AZ CDL params in nested templates
Issue-ID: VVP-183 Change-Id: Iad69ca26eb54a2200186ddf1b8d410e1248d1bcd Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
-rw-r--r--ice_validator/tests/test_server_parameters.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ice_validator/tests/test_server_parameters.py b/ice_validator/tests/test_server_parameters.py
index c72080c..46aa7bf 100644
--- a/ice_validator/tests/test_server_parameters.py
+++ b/ice_validator/tests/test_server_parameters.py
@@ -40,6 +40,7 @@
"""
import pytest
from tests import cached_yaml as yaml
+from tests.parametrizers import file_is_a_nested_template
from .helpers import validates
@@ -138,6 +139,8 @@ def check_server_parameter_name(heat_template, parameter, parameter_name):
@validates("R-23311")
def test_availability_zone_parameter_type(yaml_file):
+ if file_is_a_nested_template(yaml_file):
+ pytest.skip("Not applicable in nested templates")
check_parameter_type(yaml_file, "availability_zone_", "string")