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
[VVP] add bug fixes and reserve port updates
[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
28144d3
..
17d000c
100644
(file)
--- a/
ice_validator/tests/test_network_format.py
+++ b/
ice_validator/tests/test_network_format.py
@@
-40,7
+40,8
@@
import pytest
import yaml
import pytest
import yaml
-from .utils.network_roles import get_network_role_from_port
+from .utils.network_roles import get_network_role_from_port,\
+ property_uses_get_resource
def test_network_format(heat_template):
def test_network_format(heat_template):
@@
-61,6
+62,8
@@
def test_network_format(heat_template):
continue
if "properties" not in v:
continue
continue
if "properties" not in v:
continue
+ if property_uses_get_resource(v, "network"):
+ continue
if v.get("type") != "OS::Neutron::Port":
continue
if not get_network_role_from_port(v):
if v.get("type") != "OS::Neutron::Port":
continue
if not get_network_role_from_port(v):