aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoranushadasari <danush10@in.ibm.com>2019-11-13 13:43:23 +0530
committeranushadasari <danush10@in.ibm.com>2019-11-13 13:43:37 +0530
commit5706da0c7f430c01a0cebb534f1a965ee9b5cca7 (patch)
tree3755aea1be29218dcc94f22cc86f6fe9696c7900
parent00c64458942602efe5a3b712540b98ac94fb60f4 (diff)
Remove unnecessary check for pytest.skip
Issue-ID: VVP-288 Change-Id: I1c099ce6450401d324a6beb16256e758d83dd44a Signed-off-by: anushadasari <danush10@in.ibm.com>
-rw-r--r--ice_validator/tests/test_network_format.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ice_validator/tests/test_network_format.py b/ice_validator/tests/test_network_format.py
index 98fcd37..b291c53 100644
--- a/ice_validator/tests/test_network_format.py
+++ b/ice_validator/tests/test_network_format.py
@@ -38,7 +38,6 @@
#
from itertools import chain
-import pytest
import re
from tests import cached_yaml as yaml
@@ -78,10 +77,6 @@ def test_network_has_subnet(yaml_file):
with open(yaml_file) as fh:
yml = yaml.load(fh)
- # skip if resources are not defined
- if "resources" not in yml:
- pytest.skip("No resources specified in the heat template")
-
networks = []
for k, v in yml["resources"].items():