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

bwarsaw@users.sourceforge.net bwarsaw@users.sourceforge.net
Mon, 10 Mar 2003 07:11:36 -0800


Update of /cvsroot/python/python/dist/src/Lib/email/test
In directory sc8-pr-cvs1:/tmp/cvs-serv13169

Modified Files:
	test_email.py 
Log Message:
test_another_long_multiline_header(): Yet another formatting test.


Index: test_email.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/test/test_email.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** test_email.py	7 Mar 2003 23:23:04 -0000	1.37
--- test_email.py	10 Mar 2003 15:11:29 -0000	1.38
***************
*** 811,814 ****
--- 811,826 ----
  """)
  
+     def test_another_long_multiline_header(self):
+         eq = self.ndiffAssertEqual
+         m = '''\
+ Received: from siimage.com ([172.25.1.3]) by zima.siliconimage.com with Microsoft SMTPSVC(5.0.2195.4905);
+ 	Wed, 16 Oct 2002 07:41:11 -0700'''
+         msg = email.message_from_string(m)
+         eq(msg.as_string(), '''\
+ Received: from siimage.com ([172.25.1.3]) by zima.siliconimage.com with
+ 	Microsoft SMTPSVC(5.0.2195.4905); Wed, 16 Oct 2002 07:41:11 -0700
+ 
+ ''')
+