aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteven stark <steven.stark@att.com>2019-11-12 21:44:52 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-12 21:44:52 +0000
commit4a469129424e9727c0d814a05ab52373b237ff2e (patch)
tree6ced3dd9776035000c78b988f62092b7ec34fdaa
parentb58293a120bb2c4a2d77296fe9c1c5a2247b3799 (diff)
parent34cb24b4497529cd9ab9181cfde6e70027dd867e (diff)
Merge "Remove unnecessary check for pytest.skip"
-rw-r--r--ice_validator/tests/test_non_server_name.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/ice_validator/tests/test_non_server_name.py b/ice_validator/tests/test_non_server_name.py
index 9361389..7a5c11f 100644
--- a/ice_validator/tests/test_non_server_name.py
+++ b/ice_validator/tests/test_non_server_name.py
@@ -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():