ó
{G_Tc @ sx d d l m Z e j d d e ƒZ e j d d e ƒZ d d l Z d Z d „ Z d „ Z e
d k rt e ƒ n d S(
iÿÿÿÿ( t test_supportt mimetoolst
deprecatedt multifileNsL Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="=====================_590453667==_"
X-OriginalArrivalTime: 05 Feb 2002 03:43:23.0310 (UTC) FILETIME=[42D88CE0:01C1ADF7]
--=====================_590453667==_
Content-Type: multipart/alternative;
boundary="=====================_590453677==_.ALT"
--=====================_590453677==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
test A
--=====================_590453677==_.ALT
Content-Type: text/html; charset="us-ascii"
test B
--=====================_590453677==_.ALT--
--=====================_590453667==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="att.txt"
Attached Content.
Attached Content.
Attached Content.
Attached Content.
--=====================_590453667==_--
c C s‘ t j | ƒ } | j ƒ d k rq | j d ƒ } t d 7a | j | ƒ x | j ƒ rc t | ƒ qJ W| j ƒ n | j ƒ } t
t | ƒ 7a
d S( Nt multipartt boundaryi ( R t Messaget getmaintypet getparamt
boundariest pusht nextt
getMIMEMsgt popt readlinest linecountt len( t mft msgR t lines( ( s/ /usr/local/lib/python2.7/test/test_multifile.pyR ( s
c C s2 d a d a t j t ƒ } t t j | ƒ ƒ d S( Ni ( R R t cStringIOt StringIOR R R t MultiFile( t f( ( s/ /usr/local/lib/python2.7/test/test_multifile.pyt test_main9 s
t __main__( t testR t
import_modulet TrueR R R R R R t __name__( ( ( s/ /usr/local/lib/python2.7/test/test_multifile.pyt s "