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] revert nested resource section
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
test_initial_configuration.py
diff --git
a/ice_validator/tests/test_initial_configuration.py
b/ice_validator/tests/test_initial_configuration.py
index
3ecfb59
..
83f887c
100644
(file)
--- a/
ice_validator/tests/test_initial_configuration.py
+++ b/
ice_validator/tests/test_initial_configuration.py
@@
-184,11
+184,11
@@
def test_05_all_get_param_have_defined_parameter(yaml_file):
@validates("R-90152")
@pytest.mark.base
@validates("R-90152")
@pytest.mark.base
-def test_06_heat_template_resource_section_has_resources(
yaml_fil
e):
+def test_06_heat_template_resource_section_has_resources(
heat_templat
e):
found_resource = False
found_resource = False
- with open(
yaml_fil
e) as fh:
+ with open(
heat_templat
e) as fh:
yml = yaml.load(fh)
resources = yml.get("resources")
yml = yaml.load(fh)
resources = yml.get("resources")