aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_contrail_fqdn.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_contrail_fqdn.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_contrail_fqdn.py')
-rw-r--r--ice_validator/tests/test_contrail_fqdn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ice_validator/tests/test_contrail_fqdn.py b/ice_validator/tests/test_contrail_fqdn.py
index 65ab9e4..f90553f 100644
--- a/ice_validator/tests/test_contrail_fqdn.py
+++ b/ice_validator/tests/test_contrail_fqdn.py
@@ -124,7 +124,7 @@ def validate_virtual_network_refs(heat, virtual_network_refs, network_role):
@validates("R-02164")
-def test_contrail_fqdn(heat_template):
+def test_contrail_fqdn(yaml_file):
"""
When a VNF's Heat Orchestration Template's Contrail resource
has a property that
@@ -134,4 +134,4 @@ def test_contrail_fqdn(heat_template):
* **MUST** follow the format ``{network-role}_net_fqdn``
* **MUST** be declared as type ``string``
"""
- run_test(heat_template, validate_virtual_network_refs)
+ run_test(yaml_file, validate_virtual_network_refs)