Home
last modified time | relevance | path

Searched refs:matchJSONKey (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/tc-testing/
H A Dtdc.py276 def find_in_json(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
294 def find_in_json_list(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
311 matchJSONKey)
315 for matchJSONKey, matchJSONVal in matchJSONVal.items():
317 if matchJSONKey not in outputJSONVal:
332 type(outputJSONVal[matchJSONKey]) == list):
334 res = find_in_json(res, outputJSONVal[matchJSONKey], matchJSONVal, matchJSONKey)
342 def find_in_json_other(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
343 if matchJSONKey in outputJSONVal:
344 if matchJSONVal != outputJSONVal[matchJSONKey]:
[all …]