[Python-checkins] python/dist/src/Lib/email/test test_email.py, 1.57, 1.58

bwarsaw at users.sourceforge.net bwarsaw at users.sourceforge.net
Thu May 13 19:17:06 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib/email/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7420

Modified Files:
	test_email.py 
Log Message:
test_boundary_in_non_multipart(): Added a test for SF bug # 846938.


Index: test_email.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email.py,v
retrieving revision 1.57
retrieving revision 1.58
diff -C2 -d -r1.57 -r1.58
*** test_email.py	13 May 2004 20:15:20 -0000	1.57
--- test_email.py	13 May 2004 23:17:04 -0000	1.58
***************
*** 1362,1365 ****
--- 1362,1380 ----
  """)
  
+     def test_boundary_in_non_multipart(self):
+         msg = self._msgobj('msg_40.txt')
+         self.assertEqual(msg.as_string(), '''\
+ MIME-Version: 1.0
+ Content-Type: text/html; boundary="--961284236552522269"
+ 
+ ----961284236552522269
+ Content-Type: text/html;
+ Content-Transfer-Encoding: 7Bit
+ 
+ <html></html>
+ 
+ ----961284236552522269--
+ ''')
+ 
  
  




More information about the Python-checkins mailing list