aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_vm_role_value.py
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2019-02-04 16:20:15 -0800
committerstark, steven <steven.stark@att.com>2019-02-04 16:37:13 -0800
commit10535815da964c683e5f91030934652bfb3f53b8 (patch)
tree129390448c758b104b677a4c89e2aac89ecdfd73 /ice_validator/tests/test_vm_role_value.py
parent912ea4cdf9721f66339c47bbfdcf4315ca7bd424 (diff)
[VVP] enhance tests for nested templates
Change-Id: I17047fa3df555fafcdae566fad50b8c19ddca16f Issue-ID: VVP-158 Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/test_vm_role_value.py')
-rw-r--r--ice_validator/tests/test_vm_role_value.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice_validator/tests/test_vm_role_value.py b/ice_validator/tests/test_vm_role_value.py
index e7da73d..5f43a14 100644
--- a/ice_validator/tests/test_vm_role_value.py
+++ b/ice_validator/tests/test_vm_role_value.py
@@ -74,11 +74,11 @@ def test_vm_role_hardcoded(yaml_file):
@validates("R-86476")
-def test_vm_role_from_env_file(heat_template):
+def test_vm_role_from_env_file(yaml_file):
"""
Validate vm_role when using parameters and env file
"""
- pair = get_environment_pair(heat_template)
+ pair = get_environment_pair(yaml_file)
if not pair:
pytest.skip("Unable to resolve environment pair")
template_params = pair["yyml"].get("parameters") or {}