Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/tc-testing/
A Dtdc.py298 def find_in_json(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
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:
354 type(outputJSONVal[matchJSONKey]) == list):
356 res = find_in_json(res, outputJSONVal[matchJSONKey], matchJSONVal, matchJSONKey)
364 def find_in_json_other(res, outputJSONVal, matchJSONVal, matchJSONKey=None): argument
365 if matchJSONKey in outputJSONVal:
366 if matchJSONVal != outputJSONVal[matchJSONKey]:
[all …]

Completed in 6 milliseconds