From: stark, steven Date: Fri, 15 Feb 2019 22:41:30 +0000 (-0800) Subject: [VVP] remove tests for 88540, 20947, 54458 X-Git-Tag: 5.0.0~62^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=commitdiff_plain;h=00d850be4e8492c4bfc52e93ff374ad2e827ed94 [VVP] remove tests for 88540, 20947, 54458 the reqs 88540, 20947, 54458 were removed from read the docs, the corresponding tests for these should also be removed. Change-Id: I1912321e6c68df34b41c32b62d0ae2a25873b959 Issue-ID: VVP-168 Signed-off-by: stark, steven --- diff --git a/ice_validator/tests/test_contrail_instance_ip_resource_id.py b/ice_validator/tests/test_contrail_instance_ip_resource_id.py index d08938e..5e80075 100644 --- a/ice_validator/tests/test_contrail_instance_ip_resource_id.py +++ b/ice_validator/tests/test_contrail_instance_ip_resource_id.py @@ -120,19 +120,3 @@ def test_contrail_instance_ip_resource_id_internal(yaml_file): regex_names=("int_ip", "int_v6_ip"), network_flavor=ContrailV2InstanceIpProcessor.network_flavor_internal, ) - - -@validates("R-20947", "R-88540") -def test_contrail_instance_ip_resource_id_subint(yaml_file): - """ - subint - {vm-type}_{vm-type_index}_subint_{network-role}_vmi_{vmi_index} - _IP_{index} - {vm-type}_{vm-type_index}_subint_{network-role}_vmi_{vmi_index} - _v6_IP_{index} - """ - run_test( - yaml_file, - regex_names=("subint_ip", "subint_v6_ip"), - network_flavor=ContrailV2InstanceIpProcessor.network_flavor_subint, - ) diff --git a/ice_validator/tests/test_contrail_vmi_resource_id.py b/ice_validator/tests/test_contrail_vmi_resource_id.py index 4d1efb8..9cabfb4 100644 --- a/ice_validator/tests/test_contrail_vmi_resource_id.py +++ b/ice_validator/tests/test_contrail_vmi_resource_id.py @@ -112,20 +112,3 @@ def test_contrail_instance_ip_resource_id_internal(yaml_file): regex_name="vmi_internal", network_flavor=ContrailV2VirtualMachineInterfaceProcessor.network_flavor_internal, ) - - -@validates("R-54458") -def test_contrail_instance_ip_resource_id_subint(yaml_file): - """ - A VNF's Heat Orchestration Template's Resource - OS::ContrailV2::VirtualMachineInterface that is attaching to an - sub-interface network - Resource ID **MUST** use the naming convention - - {vm-type}_{vm-type_index}_subint_{network-role}_vmi_{vmi_index} - """ - run_test( - yaml_file, - regex_name="vmi_subint", - network_flavor=ContrailV2VirtualMachineInterfaceProcessor.network_flavor_subint, - )