aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/test_nested_parameter_args.py
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-05-30 08:51:43 -0500
committerLovett, Trevor <trevor.lovett@att.com>2019-05-30 08:51:43 -0500
commite97e5f898a2bfeac786b9022ed151665be435376 (patch)
tree6ee622cac440086f083c5854ed45579cc3570d26 /ice_validator/tests/test_nested_parameter_args.py
parent32ae86efa75a62edd9e6739236bdc3c0ff87676a (diff)
[VVP] Exempt output section from nested get_param check
Change-Id: Ib87b0fb1c70c5689fc7687a21a27ea60934096b1 Issue-ID: VVP-220 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/test_nested_parameter_args.py')
-rw-r--r--ice_validator/tests/test_nested_parameter_args.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ice_validator/tests/test_nested_parameter_args.py b/ice_validator/tests/test_nested_parameter_args.py
index 9f5e0bb..378d12f 100644
--- a/ice_validator/tests/test_nested_parameter_args.py
+++ b/ice_validator/tests/test_nested_parameter_args.py
@@ -53,6 +53,8 @@ class GetParamChecker:
def __call__(self, keys, param_value, *args, **kwargs):
if isinstance(param_value, str):
return # refers to a string or parameter - this is OK
+ if "outputs" in keys:
+ return # output section is exempt from this requirement
if isinstance(param_value, list):
nested_get_params = (arg for arg in param_value if is_get_param(arg))
args = (call["get_param"] for call in nested_get_params)