Changeset 16428 for main/waeup.kofa/trunk
- Timestamp:
- 23 Mar 2021, 13:15:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/tests/test_smtp.py
r16299 r16428 260 260 u'A subject', 261 261 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')), 264 265 ) 265 266 self.assertEqual(mail_id, 'fake-message-id@example.com') … … 267 268 self.get_fake_smtp_output().split('\n'), 268 269 [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:', 270 272 u'Message:', 271 273 u'msg: MIME-Version: 1.0', … … 274 276 u'msg: From: A sender <no-reply@waeup.org>', 275 277 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>', 279 281 u'msg: Reply-To: A sender <sender@example.com>', 280 282 u'msg: Subject: A subject', … … 282 284 u'msg: This is a test mail.', 283 285 u''] 286 287 284 288 ) 285 289 return
Note: See TracChangeset for help on using the changeset viewer.