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_forbidden_resources.py
diff --git
a/ice_validator/tests/test_forbidden_resources.py
b/ice_validator/tests/test_forbidden_resources.py
index
205dfcd
..
d24eb50
100644
(file)
--- a/
ice_validator/tests/test_forbidden_resources.py
+++ b/
ice_validator/tests/test_forbidden_resources.py
@@
-63,18
+63,18
@@
def run_test(heat_template, forbidden):
@validates("R-05257")
@validates("R-05257")
-def test_neutron_floating_ip_resource_type(
heat_templat
e):
+def test_neutron_floating_ip_resource_type(
yaml_fil
e):
"""
A VNF's Heat Orchestration Template's **MUST NOT**
contain the Resource ``OS::Neutron::FloatingIP``.
"""
"""
A VNF's Heat Orchestration Template's **MUST NOT**
contain the Resource ``OS::Neutron::FloatingIP``.
"""
- run_test(
heat_templat
e, "OS::Neutron::FloatingIP")
+ run_test(
yaml_fil
e, "OS::Neutron::FloatingIP")
@validates("R-76449")
@validates("R-76449")
-def test_neutron_floating_ip_association_resource_type(
heat_templat
e):
+def test_neutron_floating_ip_association_resource_type(
yaml_fil
e):
"""
A VNF's Heat Orchestration Template's **MUST NOT**
contain the Resource ``OS::Neutron::FloatingIPAssociation``.
"""
"""
A VNF's Heat Orchestration Template's **MUST NOT**
contain the Resource ``OS::Neutron::FloatingIPAssociation``.
"""
- run_test(
heat_templat
e, "OS::Neutron::FloatingIPAssociation")
+ run_test(
yaml_fil
e, "OS::Neutron::FloatingIPAssociation")