Lines Matching refs:message
21 # improved error message
246 def _postProcessCheckSyntax(self, test, message):
249 returned in its message.
254 matches = re.findall('\w+\.\w+:(?P<numbers>\d+):', message)
258 message = message.replace(match, str(new_line_number), 1)
260 message = message.replace(config.NS_STUDENT + '.', '')
262 return message
364 message = 'No test specification selected.'
365 LOG.warn('%s, %s' % (message, job.getId()))
366 return BackendResult(-217, message)
372 message = str(ae)
373 LOG.warn('%s, %s' % (message, job.getId()))
374 return BackendResult(-230, message)
429 message = 'Internal error during semantic check: %s: %s' % \
432 LOG.error(message)
433 msg = re.sub(config.METHOD_NOT_FOUND_RE, "", message)
451 def _postProcessCheckSemantic(self, test, message):
455 First, the message will be scanned for a Failure trace. If one exists,
463 matcher = FAILURE_TRACE_RE.search(message)
471 message = match.replace(number, str(int(number) - self.line_offset))
474 message = message + '\n\t...'
477 message = message.replace(config.NS_STUDENT + '.', '')
479 return message