Lines Matching refs:failmsg
282 …failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {} '
283 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
285 res.set_failmsg(failmsg)
289 …failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
290 failmsg = failmsg.format(len(outputJSON), outputJSON, len(matchJSON), matchJSON)
292 res.set_failmsg(failmsg)
318 … failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
319 failmsg = failmsg.format(outputJSONVal, matchJSONVal)
321 res.set_failmsg(failmsg)
325 …failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
326 failmsg = failmsg.format(len(outputJSONVal), outputJSONVal, len(matchJSONVal), matchJSONVal)
328 res.set_failmsg(failmsg)
340 failmsg = 'Key not found in json output: {}: {}\nMatching against output: {}'
341 failmsg = failmsg.format(matchJSONKey, matchJSONVal, outputJSONVal)
343 res.set_failmsg(failmsg)
347 … failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
348 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
350 res.set_failmsg(failmsg)
367 failmsg = 'Value doesn\'t match: {}: {} != {}\nMatching against output: {}'
368 … failmsg = failmsg.format(matchJSONKey, matchJSONVal, outputJSONVal[matchJSONKey], outputJSONVal)
370 res.set_failmsg(failmsg)