aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/utils
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2019-07-25 09:37:55 -0500
committerLovett, Trevor (tl2972) <tl2972@att.com>2019-07-25 09:38:21 -0500
commit219c0e1fb5ebbd37772d18611ea42196c42e17f8 (patch)
tree379211db55ad3c7156ea396ea1bb49cb05d9fdb9 /ice_validator/tests/utils
parent1b6fda825c327432bd7e55bbf3c7e1abd638a09b (diff)
[VVP] Fixed ParameterCollector nested get_param
Issue-ID: VVP-248 Change-Id: I27d95c763cafe6d262ea8f6c03fbb3a7ba0f64dc Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/utils')
-rw-r--r--ice_validator/tests/utils/nested_iterables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice_validator/tests/utils/nested_iterables.py b/ice_validator/tests/utils/nested_iterables.py
index a868e5a..51b19de 100644
--- a/ice_validator/tests/utils/nested_iterables.py
+++ b/ice_validator/tests/utils/nested_iterables.py
@@ -51,7 +51,7 @@ class ParameterCollector:
def __call__(self, _, value):
if isinstance(value, str):
self.params.add(value)
- elif isinstance(value, list) and len(value) >= 1:
+ elif isinstance(value, list) and len(value) >= 1 and isinstance(value[0], str):
self.params.add(value[0])