'Return report attributes as a list of (name, value).
Override this to add custom attributes.'

def getReportAttributes(self, result):

    template = current.deployment_settings.get_template()
    startTime = str(self.startTime)[:19]
    duration = str((self.stopTime - self.startTime))
    status = []
    if ('smoke_results' in current.data):
        (sc, fc) = self._get_smoke_results()
        result.success_count = sc
        result.failure_count = fc
    if result.success_count:
        status.append(('Pass    %s' % result.success_count))
    if result.failure_count:
        status.append(('Failure    %s' % result.failure_count))
    if result.error_count:
        status.append(('Error    %s' % result.error_count))
    if status:
        status = '    '.join(status)
    else:
        status = 'none'
    return [('Start    Time', startTime), ('Duration', duration), ('Status', status), ('Template', template)]
