Aligned test with updated R-610030
[vvp/validation-scripts.git] / ice_validator / tests / test_nested_template_parameters.py
index 8f5acc8..66d8adc 100644 (file)
@@ -67,6 +67,13 @@ 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