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
[VVP] Disallow vf_module_index look ups per R-55307
[vvp/validation-scripts.git]
/
ice_validator
/
tests
/
helpers.py
diff --git
a/ice_validator/tests/helpers.py
b/ice_validator/tests/helpers.py
index
f4a368c
..
ec14bc0
100644
(file)
--- a/
ice_validator/tests/helpers.py
+++ b/
ice_validator/tests/helpers.py
@@
-255,6
+255,9
@@
def traverse(data, search_key, func, path=None):
traverse(value, search_key, func, curr_path)
elif value == search_key:
func(curr_path, value)
+ elif search_key == data:
+ curr_path = path + [data]
+ func(curr_path, data)
def check_indices(pattern, values, value_type):