Remove unnecessary check for pytest.skip 23/97923/1
authoranushadasari <danush10@in.ibm.com>
Mon, 4 Nov 2019 17:54:39 +0000 (23:24 +0530)
committeranushadasari <danush10@in.ibm.com>
Mon, 4 Nov 2019 17:55:05 +0000 (23:25 +0530)
Issue-ID: VVP-290
Change-Id: I81a67dc0a2574dd3bea2a1b86d4cc3f6644c28b2
Signed-off-by: anushadasari <danush10@in.ibm.com>
ice_validator/tests/test_non_server_name.py

index 9361389..7a5c11f 100644 (file)
@@ -42,7 +42,6 @@ resource property name
 """
 import os
 import collections
-import pytest
 
 from .structures import Heat
 from .structures import HeatProcessor
@@ -74,12 +73,7 @@ def test_non_server_name(yaml_file):
 
     """
     h = Heat(filepath=yaml_file)
-    if not h.resources:
-        pytest.skip("No resources in this template")
-
     non_servers = get_non_servers(h)
-    if not non_servers:
-        pytest.skip("No non-server resources in this template")
 
     bad = []
     for rid, resource in non_servers.items():