Code Review
/
vvp
/
validation-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove unnecessary check for pytest.skip
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
test_network_format.py
diff --git
a/ice_validator/tests/test_network_format.py
b/ice_validator/tests/test_network_format.py
index
98fcd37
..
b291c53
100644
(file)
--- a/
ice_validator/tests/test_network_format.py
+++ b/
ice_validator/tests/test_network_format.py
@@
-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():