aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_network_format.py
diff options
context:
space:
mode:
Diffstat (limited to 'ice_validator/tests/test_network_format.py')
-rw-r--r--ice_validator/tests/test_network_format.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ice_validator/tests/test_network_format.py b/ice_validator/tests/test_network_format.py
index 28144d3..17d000c 100644
--- a/ice_validator/tests/test_network_format.py
+++ b/ice_validator/tests/test_network_format.py
@@ -40,7 +40,8 @@
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):
@@ -61,6 +62,8 @@ def test_network_format(heat_template):
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):