aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-11-04 23:06:15 +0530
committeranushadasari <danush10@in.ibm.com>2019-11-04 23:08:55 +0530
commit3c835f9d56a892aeed5930187a236db0e0944191 (patch)
treed2c450acfbf34f2fb065e07568257aafcb7d5e18
parente2b5191d127ab0e8c019112c2e75238d76a01897 (diff)
Skip unnecessary resource/pytest.skip check
Issue-ID: VVP-295 Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15 Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r--ice_validator/tests/test_vm_type_case.py4
1 files changed, 0 insertions, 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)