From 10535815da964c683e5f91030934652bfb3f53b8 Mon Sep 17 00:00:00 2001 From: "stark, steven" Date: Mon, 4 Feb 2019 16:20:15 -0800 Subject: [VVP] enhance tests for nested templates Change-Id: I17047fa3df555fafcdae566fad50b8c19ddca16f Issue-ID: VVP-158 Signed-off-by: stark, steven --- ice_validator/tests/test_contrail_vn_resource_id.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ice_validator/tests/test_contrail_vn_resource_id.py') diff --git a/ice_validator/tests/test_contrail_vn_resource_id.py b/ice_validator/tests/test_contrail_vn_resource_id.py index b316fb7..07eece5 100644 --- a/ice_validator/tests/test_contrail_vn_resource_id.py +++ b/ice_validator/tests/test_contrail_vn_resource_id.py @@ -53,7 +53,7 @@ VERSION = "2.0.0" @validates("R-99110") -def test_neutron_net_resource_id(heat_template): +def test_neutron_net_resource_id(yaml_file): """ A VNF's Heat Orchestration Template's Resource OS::ContrailV2::VirtualNetwork Resource ID @@ -63,7 +63,7 @@ def test_neutron_net_resource_id(heat_template): or 2) int_{network-role}_RVN`` where RVN represents Resource Virtual """ - heat = Heat(filepath=heat_template) + heat = Heat(filepath=yaml_file) heat_object_class = ContrailV2VirtualNetworkProcessor resource_type = heat_object_class.resource_type resources = heat.get_resource_by_type(resource_type) -- cgit 1.2.3-korg