diff options
Diffstat (limited to 'ice_validator')
-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 |