'If a line log is supplied to L{SMTPClientError}, its contents are
included in the string representation of the exception instance.'

def test_strWithLog(self):

    log = LineLog(10)
    log.append('testlog')
    log.append('secondline')
    err = smtp.SMTPClientError(100, 'test    error', log=log.str())
    self.assertEqual(str(err), '100    test    error\ntestlog\nsecondline\n')
