aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/helpers.py
diff options
context:
space:
mode:
authorsteven stark <steven.stark@att.com>2019-07-24 19:11:44 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-24 19:11:44 +0000
commit1b6fda825c327432bd7e55bbf3c7e1abd638a09b (patch)
tree305f9b1dffc384202d983eee56f0212ff3973932 /ice_validator/tests/helpers.py
parent107d6b6a59ba8bc012f35a073e609b53b2ce05e7 (diff)
parent9e39bf74ce93945b322c554349e85afca3a79852 (diff)
Merge "[VVP] Fixed issue in unused parameter detection"
Diffstat (limited to 'ice_validator/tests/helpers.py')
-rw-r--r--ice_validator/tests/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice_validator/tests/helpers.py b/ice_validator/tests/helpers.py
index fd78c75..6a6fb73 100644
--- a/ice_validator/tests/helpers.py
+++ b/ice_validator/tests/helpers.py
@@ -218,7 +218,7 @@ def traverse(data, search_key, func, path=None):
elif isinstance(data, list):
for value in data:
curr_path = path + [value]
- if isinstance(value, dict):
+ if isinstance(value, (dict, list)):
traverse(value, search_key, func, curr_path)
elif value == search_key:
func(curr_path, value)