diff options
author | stark, steven <steven.stark@att.com> | 2019-02-05 10:40:55 -0800 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2019-02-05 10:52:01 -0800 |
commit | 815a65d91bb75131151526041efaef28b50a0b6b (patch) | |
tree | 759a1b92586b73e83b1d06315c7958d5614e2f61 /ice_validator/tests/test_initial_configuration.py | |
parent | 10535815da964c683e5f91030934652bfb3f53b8 (diff) |
[VVP] revert nested resource section
- R-40551 specifies nested templates
MAY or MAY NOT contain a resource section
- remove check for get_param in allowed_address_pairs,
no requirement states get_param MUST be used
Change-Id: If133b4ec4d39c25a95c77482b1743562e2ae74a8
Issue-ID: VVP-158
Signed-off-by: stark, steven <steven.stark@att.com>
Diffstat (limited to 'ice_validator/tests/test_initial_configuration.py')
-rw-r--r-- | ice_validator/tests/test_initial_configuration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ice_validator/tests/test_initial_configuration.py b/ice_validator/tests/test_initial_configuration.py index 3ecfb59..83f887c 100644 --- 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 -def test_06_heat_template_resource_section_has_resources(yaml_file): +def test_06_heat_template_resource_section_has_resources(heat_template): found_resource = False - with open(yaml_file) as fh: + with open(heat_template) as fh: yml = yaml.load(fh) resources = yml.get("resources") |