import pytest
from tests import cached_yaml as yaml
-from .helpers import validates
+from tests.helpers import validates
+from tests.utils.nested_files import file_is_a_nested_template
VERSION = "1.1.0"
@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")