"""
import pytest
from tests import cached_yaml as yaml
+from tests.parametrizers import file_is_a_nested_template
from .helpers import validates
@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_server_parameter_name(yaml_file, "vf_module_name", "vf_module_name")
-@validates("R-95430")
-def test_vm_role_parameter_type_and_parameter_name(yaml_file):
- check_parameter_type(yaml_file, "vm_role", "string")
- check_server_parameter_name(yaml_file, "vm_role", "vm_role")
-
-
@validates("R-54340")
def test_vf_module_index_parameter_type_and_parameter_name(yaml_file):
check_parameter_type(yaml_file, "vf_module_index", "number")