Issue-ID: VVP-183
Change-Id: Iad69ca26eb54a2200186ddf1b8d410e1248d1bcd
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
"""
import pytest
from tests import cached_yaml as yaml
"""
import pytest
from tests import cached_yaml as yaml
+from tests.parametrizers import file_is_a_nested_template
from .helpers import validates
from .helpers import validates
@validates("R-23311")
def test_availability_zone_parameter_type(yaml_file):
@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")
check_parameter_type(yaml_file, "availability_zone_", "string")