From 3c835f9d56a892aeed5930187a236db0e0944191 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Mon, 4 Nov 2019 23:06:15 +0530 Subject: [PATCH] Skip unnecessary resource/pytest.skip check Issue-ID: VVP-295 Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15 Signed-off-by: anushadasari --- ice_validator/tests/test_vm_type_case.py | 4 ---- 1 file changed, 4 deletions(-) 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) -- 2.16.6