aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ice_validator/tests/test_non_server_name.py6
-rw-r--r--ice_validator/tests/test_vm_type_case.py4
2 files changed, 0 insertions, 10 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():
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)