[Python-checkins] python/dist/src/Lib/email/test test_email.py, 1.54, 1.55 (original) (raw)
bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Sun May 9 14:03:51 EDT 2004
- Previous message: [Python-checkins] python/dist/src/Lib/email/test test_email.py, 1.50.10.2, 1.50.10.3
- Next message: [Python-checkins] python/dist/src/Lib/email MIMEMultipart.py, 1.3, 1.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /cvsroot/python/python/dist/src/Lib/email/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv483
Modified Files: test_email.py Log Message: test_mime_attachments_in_constructor(): New test to check for SF bug # 884030.
Index: test_email.py
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email.py,v retrieving revision 1.54 retrieving revision 1.55 diff -C2 -d -r1.54 -r1.55 *** test_email.py 9 May 2004 03:16:03 -0000 1.54 --- test_email.py 9 May 2004 18:03:36 -0000 1.55
*** 1751,1754 **** --- 1751,1763 ---- ''')
def test_mime_attachments_in_constructor(self):
eq = self.assertEqual
text1 = MIMEText('')
text2 = MIMEText('')
msg = MIMEMultipart(_subparts=(text1, text2))
eq(len(msg.get_payload()), 2)
eq(msg.get_payload(0), text1)
eq(msg.get_payload(1), text2)
- Previous message: [Python-checkins] python/dist/src/Lib/email/test test_email.py, 1.50.10.2, 1.50.10.3
- Next message: [Python-checkins] python/dist/src/Lib/email MIMEMultipart.py, 1.3, 1.4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]