diff options
author | stark, steven <steven.stark@att.com> | 2020-07-06 14:11:48 -0700 |
---|---|---|
committer | stark, steven <steven.stark@att.com> | 2020-07-06 14:12:21 -0700 |
commit | 090dbf300bf4e20cf1571afdc21792789a768abd (patch) | |
tree | ea69d4d72cc84c8028846e3eb12b89593455c569 /ice_validator/tests | |
parent | 3b96f670aad978447056a379085206470e61af07 (diff) |
[VVP] Additional check for RG params
RG input params must match nested params
Issue-ID: VVP-438
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I6ed1ea4bfd06f5d01f05a2187f6f77e38f44932d
Diffstat (limited to 'ice_validator/tests')
-rw-r--r-- | ice_validator/tests/test_nested_template_parameters.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ice_validator/tests/test_nested_template_parameters.py b/ice_validator/tests/test_nested_template_parameters.py index 8f5acc8..016ebc9 100644 --- a/ice_validator/tests/test_nested_template_parameters.py +++ b/ice_validator/tests/test_nested_template_parameters.py @@ -67,6 +67,14 @@ def validate_parms(dirname, basename, nested, nested_props, prop_type): " of %s resource %s" % (nested_filename, list(missing), prop_type, basename, rid) ) + else: + additional = props - parms + if additional: + bad.append( + "%s properties %s not defined as " + "parameters in %s" + % (rid, list(additional), nested_filepath) + ) return bad |