Lines Matching refs:failmsg
260 …failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {} '
261 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
263 res.set_failmsg(failmsg)
267 …failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
268 failmsg = failmsg.format(len(outputJSON), outputJSON, len(matchJSON), matchJSON)
270 res.set_failmsg(failmsg)
296 … failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
297 failmsg = failmsg.format(outputJSONVal, matchJSONVal)
299 res.set_failmsg(failmsg)
303 …failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
304 failmsg = failmsg.format(len(outputJSONVal), outputJSONVal, len(matchJSONVal), matchJSONVal)
306 res.set_failmsg(failmsg)
318 failmsg = 'Key not found in json output: {}: {}\nMatching against output: {}'
319 failmsg = failmsg.format(matchJSONKey, matchJSONVal, outputJSONVal)
321 res.set_failmsg(failmsg)
325 … failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
326 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
328 res.set_failmsg(failmsg)
345 failmsg = 'Value doesn\'t match: {}: {} != {}\nMatching against output: {}'
346 … failmsg = failmsg.format(matchJSONKey, matchJSONVal, outputJSONVal[matchJSONKey], outputJSONVal)
348 res.set_failmsg(failmsg)