'Print the result of a single job.
job: a job object'

def print_job_result(self, job):

    if (job.result is None):
        print 'PENDING',
    elif (job.result is True):
        print 'PASSED',
    elif (job.result is False):
        print 'FAILED',
    elif (job.result == 'Abort'):
        print 'ABORT',
    print ('    %s    :    %s' % (job.id, job.name))
