From: anushadasari Date: Mon, 4 Nov 2019 17:36:15 +0000 (+0530) Subject: Skip unnecessary resource/pytest.skip check X-Git-Tag: 6.0.0~23^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=commitdiff_plain;h=3c835f9d56a892aeed5930187a236db0e0944191 Skip unnecessary resource/pytest.skip check Issue-ID: VVP-295 Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15 Signed-off-by: anushadasari --- diff --git a/ice_validator/tests/test_vm_type_case.py b/ice_validator/tests/test_vm_type_case.py index 3ecd8de..db4646c 100644 --- a/ice_validator/tests/test_vm_type_case.py +++ b/ice_validator/tests/test_vm_type_case.py @@ -65,8 +65,6 @@ resources: import collections import re -import pytest - from .structures import Heat from .helpers import validates @@ -101,8 +99,6 @@ def test_vm_type_case(yaml_file): """ heat = Heat(filepath=yaml_file) resources = heat.resources - if not resources: - pytest.skip("No resources found") bad = collections.defaultdict(list) for rid, resource in resources.items(): vm_type = heat.get_vm_type(rid, resource=resource)