parameters: (self, test_succeed, action)
docstring: Print the detailed info of failed or always print tests.
docstring_summary: Print the detailed info of failed or always print tests.
docstring_tokens: Print the detailed info of failed or always print tests .
function: def print_action(self, test_succeed, action):
          '''
          Print the detailed info of failed or always print tests.
          '''
          #self.info_print(">>> {0}",action.keys())
          if not test_succeed or action['info']['always_show_run_output']:
              output = action['output'].strip()
              if output != "":
                  p = self.fail_print if action['result'] == 'fail' else self.p_print
                  self.info_print("")
                  self.info_print("({0}) {1}",action['info']['name'],action['info']['path'])
                  p("")
                  p("{0}",action['command'].strip())
                  p("")
                  for line in output.splitlines():
                      p("{0}",line.encode('utf-8'))
function_tokens: def print_action ( self , test_succeed , action ) : #self.info_print(">>> {0}",action.keys()) if not test_succeed or action [ 'info' ] [ 'always_show_run_output' ] : output = action [ 'output' ] . strip ( ) if output != "" : p = self . fail_print if action [ 'result' ] == 'fail' else self . p_print self . info_print ( "" ) self . info_print ( "({0}) {1}" , action [ 'info' ] [ 'name' ] , action [ 'info' ] [ 'path' ] ) p ( "" ) p ( "{0}" , action [ 'command' ] . strip ( ) ) p ( "" ) for line in output . splitlines ( ) : p ( "{0}" , line . encode ( 'utf-8' ) )