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
change if bad to assert not bad, message
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
test_contrail_irt_routes.py
diff --git
a/ice_validator/tests/test_contrail_irt_routes.py
b/ice_validator/tests/test_contrail_irt_routes.py
index
e5a95dd
..
29d1af2
100644
(file)
--- a/
ice_validator/tests/test_contrail_irt_routes.py
+++ b/
ice_validator/tests/test_contrail_irt_routes.py
@@
-146,7
+146,7
@@
def validate_irt_route_param_type(heat, routes_route):
@validates("R-28222")
@validates("R-28222")
-def test_contrail_irt_route_param_format(
heat_templat
e):
+def test_contrail_irt_route_param_format(
yaml_fil
e):
"""
If a VNF's Heat Orchestration Template
``OS::ContrailV2::InterfaceRouteTable`` resource
"""
If a VNF's Heat Orchestration Template
``OS::ContrailV2::InterfaceRouteTable`` resource
@@
-154,13
+154,13
@@
def test_contrail_irt_route_param_format(heat_template):
``interface_route_table_routes_route`` map property parameter name
**MUST** follow the format
"""
``interface_route_table_routes_route`` map property parameter name
**MUST** follow the format
"""
- run_test(
heat_templat
e, validate_irt_route_param_format)
+ run_test(
yaml_fil
e, validate_irt_route_param_format)
@validates("R-19756")
@validates("R-19756")
-def test_contrail_irt_route_param_type(
heat_templat
e):
+def test_contrail_irt_route_param_type(
yaml_fil
e):
"""
* ``{vm-type}_{network-role}_route_prefixes``
**MUST** be defined as type ``json``.
"""
"""
* ``{vm-type}_{network-role}_route_prefixes``
**MUST** be defined as type ``json``.
"""
- run_test(
heat_templat
e, validate_irt_route_param_type)
+ run_test(
yaml_fil
e, validate_irt_route_param_type)