X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=ice_validator%2Ftests%2Ftest_contrail_resource_id.py;h=dbbedbb35a66238d75dbc1988dc4c8725f525b79;hb=1bc097aa957e560147b4d9af49d25e69a6692702;hp=e0e9dce48347b9acd5077105897319f8a5a7aa09;hpb=ab01f96b1405bc037853847138a121581bb98f05;p=vvp%2Fvalidation-scripts.git diff --git a/ice_validator/tests/test_contrail_resource_id.py b/ice_validator/tests/test_contrail_resource_id.py index e0e9dce..dbbedbb 100644 --- a/ice_validator/tests/test_contrail_resource_id.py +++ b/ice_validator/tests/test_contrail_resource_id.py @@ -88,7 +88,7 @@ def run_test(heat_template, contrail_class, get_parts, part_name): @validates("R-81214") -def test_contrail_interfaceroutetable_resource_id(heat_template): +def test_contrail_interfaceroutetable_resource_id(yaml_file): """ A VNF's Heat Orchestration Template's Resource ``OS::ContrailV2::InterfaceRouteTable`` @@ -97,7 +97,7 @@ def test_contrail_interfaceroutetable_resource_id(heat_template): contain the ``{network-role}``. """ run_test( - heat_template, + yaml_file, ContrailV2InterfaceRouteTableProcessor, get_network_roles, "network_role", @@ -105,7 +105,7 @@ def test_contrail_interfaceroutetable_resource_id(heat_template): @validates("R-30753") -def test_contrail_networkipam_resource_id(heat_template): +def test_contrail_networkipam_resource_id(yaml_file): """ A VNF's Heat Orchestration Template's Resource ``OS::ContrailV2::NetworkIpam`` @@ -114,12 +114,12 @@ def test_contrail_networkipam_resource_id(heat_template): contain the ``{network-role}``. """ run_test( - heat_template, ContrailV2NetworkIpamProcessor, get_network_roles, "network_role" + yaml_file, ContrailV2NetworkIpamProcessor, get_network_roles, "network_role" ) @validates("R-20065") -def test_contrail_porttuple_resource_id(heat_template): +def test_contrail_porttuple_resource_id(yaml_file): """ A VNF's Heat Orchestration Template's Resource ``OS::ContrailV2::PortTuple`` @@ -127,11 +127,11 @@ def test_contrail_porttuple_resource_id(heat_template): **MUST** contain the ``{vm-type}``. """ - run_test(heat_template, ContrailV2PortTupleProcessor, get_vm_types, "vm_type") + run_test(yaml_file, ContrailV2PortTupleProcessor, get_vm_types, "vm_type") @validates("R-76014") -def test_contrail_servicehealthcheck_resource_id(heat_template): +def test_contrail_servicehealthcheck_resource_id(yaml_file): """ A VNF's Heat Orchestration Template's Resource ``OS::ContrailV2::ServiceHealthCheck`` @@ -139,13 +139,11 @@ def test_contrail_servicehealthcheck_resource_id(heat_template): **MUST** contain the ``{vm-type}``. """ - run_test( - heat_template, ContrailV2ServiceHealthCheckProcessor, get_vm_types, "vm_type" - ) + run_test(yaml_file, ContrailV2ServiceHealthCheckProcessor, get_vm_types, "vm_type") @validates("R-16437") -def test_contrail_servicetemplate_resource_id(heat_template): +def test_contrail_servicetemplate_resource_id(yaml_file): """ A VNF's Heat Orchestration Template's Resource ``OS::ContrailV2::ServiceTemplate`` @@ -153,4 +151,4 @@ def test_contrail_servicetemplate_resource_id(heat_template): **MUST** contain the ``{vm-type}``. """ - run_test(heat_template, ContrailV2ServiceTemplateProcessor, get_vm_types, "vm_type") + run_test(yaml_file, ContrailV2ServiceTemplateProcessor, get_vm_types, "vm_type")