Remove unnecessary check for pytest.skip
[vvp/validation-scripts.git] / ice_validator / tests / test_network_format.py
index 98fcd37..b291c53 100644 (file)
@@ -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():