Skip unnecessary resource/pytest.skip check 22/97922/1
authoranushadasari <danush10@in.ibm.com>
Mon, 4 Nov 2019 17:36:15 +0000 (23:06 +0530)
committeranushadasari <danush10@in.ibm.com>
Mon, 4 Nov 2019 17:38:55 +0000 (23:08 +0530)
Issue-ID: VVP-295
Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15
Signed-off-by: anushadasari <danush10@in.ibm.com>
ice_validator/tests/test_vm_type_case.py

index 3ecd8de..db4646c 100644 (file)
@@ -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)