Remove unnecessary check for pytest.skip 46/98346/1
authoranushadasari <danush10@in.ibm.com>
Wed, 13 Nov 2019 08:13:23 +0000 (13:43 +0530)
committeranushadasari <danush10@in.ibm.com>
Wed, 13 Nov 2019 08:13:37 +0000 (13:43 +0530)
Issue-ID: VVP-288
Change-Id: I1c099ce6450401d324a6beb16256e758d83dd44a
Signed-off-by: anushadasari <danush10@in.ibm.com>
ice_validator/tests/test_network_format.py

index 98fcd37..b291c53 100644 (file)
@@ -38,7 +38,6 @@
 #
 from itertools import chain
 
 #
 from itertools import chain
 
-import pytest
 import re
 
 from tests import cached_yaml as yaml
 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)
 
     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():
     networks = []
 
     for k, v in yml["resources"].items():