Utility functionality for the testing suite.
Update leaf values of a data structure (nested dictionaries and lists).
Both orig and override should be of the same type. E.g. both orig and override are a dict, or both are a list.
orig
override
dict
list
The original data structure.
The overriding data structure.
The orig object, updated with the override values.