Ignore:
Timestamp:
23 Mar 2021, 13:15:55 (4 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py

    r16299 r16428  
    260260            u'A subject',
    261261            u'This is a test mail.',None,
    262             u'A cc recipient <recpt@example.com>',
    263             u'A bcc recipient <recpt@example.com>,A 2nd bcc recipient <recpt@example.com>',
     262            (('recpt1@example.com', 'A cc recipient'),),
     263            (('recpt2@example.com', 'A bcc recipient'),
     264             ('recpt3@example.com', 'A 2nd bcc recipient')),
    264265            )
    265266        self.assertEqual(mail_id, 'fake-message-id@example.com')
     
    267268            self.get_fake_smtp_output().split('\n'),
    268269            [u'Sending email from no-reply@waeup.org to '
    269              u'recpt@example.com, sender@example.com:',
     270             u'recpt@example.com, recpt1@example.com, recpt2@example.com, '
     271             u'recpt3@example.com, sender@example.com:',
    270272             u'Message:',
    271273             u'msg: MIME-Version: 1.0',
     
    274276             u'msg: From: A sender <no-reply@waeup.org>',
    275277             u'msg: To: A recipient <recpt@example.com>',
    276              u'msg: Cc: A cc recipient <recpt@example.com>',
    277              u'msg: Bcc: A bcc recipient <recpt@example.com>,',
    278              u'msg:  A 2nd bcc recipient <recpt@example.com>',
     278             u'msg: Cc: A cc recipient <recpt1@example.com>',
     279             u'msg: Bcc: A bcc recipient <recpt2@example.com>',
     280             u'msg: Bcc: A 2nd bcc recipient <recpt3@example.com>',
    279281             u'msg: Reply-To: A sender <sender@example.com>',
    280282             u'msg: Subject: A subject',
     
    282284             u'msg: This is a test mail.',
    283285             u'']
     286
     287
    284288            )
    285289        return
Note: See TracChangeset for help on using the changeset viewer.