Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/tc-testing/
Dtdc.py298 def find_in_json(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
303 res = find_in_json_list(res, outputJSONVal, matchJSONVal, matchJSONKey)
308 res = find_in_json_other(res, outputJSONVal, matchJSONVal, matchJSONKey)
316 def find_in_json_list(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
333 matchJSONKey)
337 for matchJSONKey, matchJSONVal in matchJSONVal.items():
339 if matchJSONKey not in outputJSONVal:
341 failmsg = failmsg.format(matchJSONKey, matchJSONVal, outputJSONVal)
353 if type(outputJSONVal) == dict and (type(outputJSONVal[matchJSONKey]) == dict or
354 type(outputJSONVal[matchJSONKey]) == list):
[all …]