diff options
author | steven stark <steven.stark@att.com> | 2019-07-24 19:11:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-24 19:11:44 +0000 |
commit | 1b6fda825c327432bd7e55bbf3c7e1abd638a09b (patch) | |
tree | 305f9b1dffc384202d983eee56f0212ff3973932 /ice_validator/tests/helpers.py | |
parent | 107d6b6a59ba8bc012f35a073e609b53b2ce05e7 (diff) | |
parent | 9e39bf74ce93945b322c554349e85afca3a79852 (diff) |
Merge "[VVP] Fixed issue in unused parameter detection"
Diffstat (limited to 'ice_validator/tests/helpers.py')
-rw-r--r-- | ice_validator/tests/helpers.py | 2 |
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) |