From 5706da0c7f430c01a0cebb534f1a965ee9b5cca7 Mon Sep 17 00:00:00 2001 From: anushadasari Date: Wed, 13 Nov 2019 13:43:23 +0530 Subject: [PATCH] Remove unnecessary check for pytest.skip Issue-ID: VVP-288 Change-Id: I1c099ce6450401d324a6beb16256e758d83dd44a Signed-off-by: anushadasari --- ice_validator/tests/test_network_format.py | 5 ----- 1 file changed, 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(): -- 2.16.6