diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2019-07-19 14:06:52 -0500 |
---|---|---|
committer | Lovett, Trevor (tl2972) <tl2972@att.com> | 2019-07-19 14:08:57 -0500 |
commit | a9104115f1334272759bb1815cfa497c3cca3b24 (patch) | |
tree | 7e4568175f9bb3fe090593fbc214923a479fceb1 /ice_validator/tests/test_availability_zone.py | |
parent | ddba4856fc7e3d844e9e763d44ce97207a1f23bd (diff) |
[VVP] Update AZ tests to not apply to nested templates
Issue-ID: VVP-226
Change-Id: I91e97b1b73daf6be83c227ff2deeeb4e72213ed5
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/test_availability_zone.py')
-rw-r--r-- | ice_validator/tests/test_availability_zone.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ice_validator/tests/test_availability_zone.py b/ice_validator/tests/test_availability_zone.py index 7feefc9..aee6890 100644 --- a/ice_validator/tests/test_availability_zone.py +++ b/ice_validator/tests/test_availability_zone.py @@ -43,6 +43,7 @@ import re import pytest from tests import cached_yaml as yaml +from tests.utils import nested_files from .helpers import validates @@ -55,6 +56,9 @@ def test_availability_zone_naming(yaml_file): Make sure all availability zones are properly formatted """ + if nested_files.file_is_a_nested_template(yaml_file): + pytest.skip("test does not apply to nested files") + with open(yaml_file) as fh: yml = yaml.load(fh) |