Searched refs:outputJSONVal (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/testing/selftests/tc-testing/ |
D | tdc.py | 298 def find_in_json(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument 303 res = find_in_json_list(res, outputJSONVal, matchJSONVal, matchJSONKey) 306 res = find_in_json_dict(res, outputJSONVal, matchJSONVal) 308 res = find_in_json_other(res, outputJSONVal, matchJSONVal, matchJSONKey) 316 def find_in_json_list(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument 317 if (type(matchJSONVal) != type(outputJSONVal)): 319 failmsg = failmsg.format(outputJSONVal, matchJSONVal) 324 if len(matchJSONVal) > len(outputJSONVal): 326 failmsg = failmsg.format(len(outputJSONVal), outputJSONVal, len(matchJSONVal), matchJSONVal) 332 res = find_in_json(res, outputJSONVal[matchJSONIdx], matchJSONVal, [all …]
|