Code Review
/
vvp
/
validation-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VNFRQTS - Update the rst table content
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
helpers.py
diff --git
a/ice_validator/tests/helpers.py
b/ice_validator/tests/helpers.py
index
fd78c75
..
6a6fb73
100644
(file)
--- 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)