¿Cómo puede una prueba llamada por Robot Framework devolver información a la consola?

Tengo un conjunto de pruebas de framework de robot que llama a un método python. Me gustaría que ese método python devolviera un mensaje a la consola sin fallar la prueba. Específicamente estoy tratando de cronometrar un proceso.

Puedo usar "raise" para devolver un mensaje a la consola, pero eso simultáneamente falla la prueba.

 def doSomething(self, testCFG={}):
    '''
    Do a process and time it. 
    '''
testCFG['operation'] = 'doSomething'
startTime = time.time()
response=self.Engine(testCFG)
endTime = time.time()
duration = int(round(endTime-startTime))
raise "doSomething took", duration//60 , "minutes and", duration%60, "seconds."
errmsg = 'doSomething failed'
if testCFG['code']: raise Exception(errmsg)

O puedo usar "imprimir" para devolver un mensaje al archivo de registro e informar sin fallar la prueba, pero esa información solo está disponible en el informe, no en la consola.

 def doSomething(self, testCFG={}):
    '''
    Do a process and time it. 
    '''
testCFG['operation'] = 'doSomething'
startTime = time.time()
response=self.Engine(testCFG)
endTime = time.time()
duration = int(round(endTime-startTime))
print "doSomething took", duration//60 , "minutes and", duration%60, "seconds."
errmsg = 'doSomething failed'
if testCFG['code']: raise Exception(errmsg)

Si uso la opción "imprimir" obtengo esto:

==============================================================================
Do Something :: Do a process to a thing(Slow Process).                | PASS |
------------------------------------------------------------------------------
doSomething :: Overall Results                                        | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================

Lo que quiero es esto:

==============================================================================
Do Something :: Do a process to a thing(Slow Process).                | PASS |
doSomething took 3 minutes and 14 seconds.
------------------------------------------------------------------------------
doSomething :: Overall Results                                        | PASS |
1 critical test, 1 passed, 0 failed
1 test total, 1 passed, 0 failed
==============================================================================

Respuestas a la pregunta(3)

Su respuesta a la pregunta