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] enhance tests for nested templates
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
test_network_format_use_get_param_or_get_resource.py
diff --git
a/ice_validator/tests/test_network_format_use_get_param_or_get_resource.py
b/ice_validator/tests/test_network_format_use_get_param_or_get_resource.py
index
dada3e5
..
e10e873
100644
(file)
--- a/
ice_validator/tests/test_network_format_use_get_param_or_get_resource.py
+++ b/
ice_validator/tests/test_network_format_use_get_param_or_get_resource.py
@@
-35,7
+35,6
@@
#
# ============LICENSE_END============================================
#
#
# ============LICENSE_END============================================
#
-# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
import pytest
#
import pytest
@@
-45,13
+44,13
@@
from .helpers import validates
@validates("R-93177")
@validates("R-93177")
-def test_network_format_use_get_param_or_get_resource(
heat_templat
e):
+def test_network_format_use_get_param_or_get_resource(
yaml_fil
e):
"""
Make sure all network properties only use get_param
or get_resource of an internal network
"""
"""
Make sure all network properties only use get_param
or get_resource of an internal network
"""
- with open(
heat_templat
e) as fh:
+ with open(
yaml_fil
e) as fh:
yml = yaml.load(fh)
# skip if resources are not defined
yml = yaml.load(fh)
# skip if resources are not defined