aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator
diff options
context:
space:
mode:
authorHagop Bozawglanian <hagop.bozawglanian@att.com>2019-02-12 21:34:44 +0000
committerHagop Bozawglanian <hagop.bozawglanian@att.com>2019-02-12 21:34:44 +0000
commit36731efa2c3de9cb52941058fde0dcbc4beeed5b (patch)
tree3d49c284e77ece8069d4fdf71b6a76e6e7747eb1 /ice_validator
parent3471cfeb1a864f20ca0f8c7e33c14a4bd87d1258 (diff)
VVP - Fix nested template
Change-Id: I814804ccffaeb20cc758428c62a1d789868d7ff8 Issue-ID: VVP-166 Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Diffstat (limited to 'ice_validator')
-rw-r--r--ice_validator/tests/test_availability_zone_params_start_at_0.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice_validator/tests/test_availability_zone_params_start_at_0.py b/ice_validator/tests/test_availability_zone_params_start_at_0.py
index c9d74e4..32a7484 100644
--- a/ice_validator/tests/test_availability_zone_params_start_at_0.py
+++ b/ice_validator/tests/test_availability_zone_params_start_at_0.py
@@ -44,7 +44,7 @@ AZ_PATTERN = re.compile(r"^(availability_zone_)(\d+)$")
@validates("R-98450")
-def test_availability_zones_start_at_0(yaml_file):
- params = Heat(yaml_file).parameters
+def test_availability_zones_start_at_0(heat_template):
+ params = Heat(heat_template).parameters
invalid_params = check_indices(AZ_PATTERN, params, "Availability Zone Parameters")
assert not invalid_params, ". ".join(invalid_params)