Merge "[VVP] All http URLs in requirement link"
authorsteven stark <steven.stark@att.com>
Fri, 26 Jul 2019 01:37:17 +0000 (01:37 +0000)
committerGerrit Code Review <gerrit@onap.org>
Fri, 26 Jul 2019 01:37:17 +0000 (01:37 +0000)
ice_validator/tests/utils/nested_iterables.py

index a868e5a..51b19de 100644 (file)
@@ -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])