403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.41
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/test_email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/test_email/__pycache__/test_generator.cpython-315.opt-1.pyc
R
>lqj�fc�>�]PHs]PHs]PHs]PHs]PHs]PHs]QHGsGs]QH$G
s
]QH,Gs]QH4Gs]QH<GsGs]PH<s]QHHGs]QHGs]PHTs]QHXGsGs]PHds\Q	Q
22sQQ\\2sQ
Q\\2s\Q6Xc\O>2P!P!)�)�message_from_string�message_from_bytes)�EmailMessage)�
MIMEMultipart)�MIMEText)�	Generator�BytesGenerator)�Address��policy)�
TestEmailBase�parameterizec�`�\sQs]sn\O
sQQks]\OQ2](\OQ2]\OQ2-s	\	]*\	]d$\	O2sQ\]$Q\]d$\	Tt,tFDpMJ	tosQs
QsQ	sQ
sQsQsQ
sQsQsQsQsQsQsQsQsQsQsQsQsQs Qs!Us"P!ttoh)�TestGeneratorBasec�L�Ue
UOLSoUOVQ5!)Nr
)r�msgfunc)�self�msgrs&&&�3C:\Python315\\Lib\test\test_email\test_generator.py�msgmaker�TestGeneratorBase.msgmakers"�� &�����F���|�|�C�|�/�/�af            To: whom_it_may_concern@example.com
            From: nobody_you_want_to_know@example.com
            Subject: We the willing led by the unknowing are doing the
             impossible for the ungrateful. We have done so much for so long with so little
             we are now qualified to do anything with nothing.

            None
            a�            To: whom_it_may_concern@example.com
            From:
             nobody_you_want_to_know@example.com
            Subject: We the willing led by the
             unknowing are doing the impossible for
             the ungrateful. We have done so much
             for so long with so little we are now
             qualified to do anything with nothing.

            None
            a�            To:
             whom_it_may_concern@example.com
            From:
             nobody_you_want_to_know@example.com
            Subject: We the
             willing led by the
             unknowing are doing
             the impossible for
             the ungrateful. We
             have done so much
             for so long with so
             little we are now
             qualified to do
             anything with
             nothing.

            None
            aTo: whom_it_may_concern@example.com
From: nobody_you_want_to_know@example.com
Subject: We the willing led by the unknowing are doing the impossible for the ungrateful. We have done so much for so long with so little we are now qualified to do anything with nothing.

None
aTo: whom_it_may_concern@example.com
From: nobody_you_want_to_know@example.com
Subject: We the willing led by the unknowing are doing the impossible for the ungrateful. We have
 done so much for so long with so little we are now qualified to do anything with nothing.

None
c�f�UOUOUO]*22oUO2oUO	V1UO
Q5oUO
U2UOUO2UOUOU*22P!)r��maxheaderlenr)	r�typ�refold_long_expected�ioclass�genclassr�flatten�assertEqual�getvalue�r�nr�s�gs&&   r� length_as_maxheaderlen_parameter�2TestGeneratorBase.length_as_maxheaderlen_parameter`sz���m�m�D�H�H�T�%>�%>�q�%A�B�C���L�L�N���M�M�!�D�K�K�M�@��	�	�	�#���������t�x�x��0I�0I�!�0L�'M�Nrc��UOUOUO]*22oUO2oUO	V0O
O
UQ5Q5oUOU2UOUO2UOUOU*22P!�r��max_line_lengthr
�
rrrrrr�clonerr r!r"s&&   r� length_as_max_line_length_policy�2TestGeneratorBase.length_as_max_line_length_policygs����m�m�D�H�H�T�%>�%>�q�%A�B�C���L�L�N���M�M�!�K�K�$5�$5�a�$5�$H�M�I��	�	�	�#���������t�x�x��0I�0I�!�0L�'M�Nrc��UOUOUO]*22oUO2oUO	V1UO
O
]
Q5Q5oUOU2UOUO2UOUOU*22P!)rr*rr,r"s&&   r�,length_as_maxheaderlen_parm_overrides_policy�>TestGeneratorBase.length_as_maxheaderlen_parm_overrides_policyns����m�m�D�H�H�T�%>�%>�q�%A�B�C���L�L�N���M�M�!�!%���!2�!2�2�!2�!F�
�
H��	�	�	�#���������t�x�x��0I�0I�!�0L�'M�Nrc��UOUOUO]*22oUO2oUO	V0O
O
QUQ5Q5oUOU2UOUO2UOUO]*22P!)r�none��
refold_sourcer+r
r,r"s&&   r�8length_as_max_line_length_with_refold_none_does_not_fold�JTestGeneratorBase.length_as_max_line_length_with_refold_none_does_not_foldvs����m�m�D�H�H�T�%>�%>�q�%A�B�C���L�L�N���M�M�!�K�K�$5�$5�F�FG�%6�%I�M�
J��	�	�	�#���������t�x�x��0I�0I�!�0L�'M�Nrc��UOUOUO]*22oUO2oUO	V0O
O
QUQ5Q5oUOU2UOUO2UOUOU*22P!)r�allr5r
)rrrrrrr-rr r!�refold_all_expectedr"s&&   r�/length_as_max_line_length_with_refold_all_folds�ATestGeneratorBase.length_as_max_line_length_with_refold_all_folds~s����m�m�D�H�H�T�%>�%>�q�%A�B�C���L�L�N���M�M�!�K�K�$5�$5�E�FG�%6�%I�M�
J��	�	�	�#���������t�x�x��0H�0H��0K�'L�Mrc�2�QoSoUOUOU22oUO2oUOU[O
Q5oUO
U2UOUO2UOU22P!)zSubject: test

test body
r
�	rrrrr�SMTPrr r!�r�source�expectedrr$r%s&     r�test_crlf_control_via_policy�.TestGeneratorBase.test_crlf_control_via_policy�sn��5�����m�m�D�H�H�V�,�-���L�L�N���M�M�!�F�K�K�M�0��	�	�	�#���������t�x�x��'9�:rc�6�QoSoUOUOU22oUO2oUOU[O
Q5oUO
UQQ5UOUO2UOU22P!)zSubject: test

test body
r
�
��linesepr?rAs&     r�%test_flatten_linesep_overrides_policy�7TestGeneratorBase.test_flatten_linesep_overrides_policy�ss��/�����m�m�D�H�H�V�,�-���L�L�N���M�M�!�F�K�K�M�0��	�	�	�#�t�	�$��������t�x�x��'9�:rc�@�QoUOUOU22oUOUQ*Q2QoUO2oUO	U2oUOU2UOUO
2UOU22QoUO2oUO	V@OOQQ5Q5oUOU2UOUO
2UOU22P!)z.Subject: one
 two
 three
 four

test body
�Subjectzone two three fourz*Subject: one
 two
 three
 four

test body
z'Subject: one two three four

test body
r:�r6r
�	rrr rrrr!rr-�rrBrrCr$r%s&     r�test_flatten_linesep�&TestGeneratorBase.test_flatten_linesep�s���K���m�m�D�H�H�V�,�-������Y��)=�>�E���L�L�N���M�M�!���	�	�	�#���������t�x�x��'9�:�?���L�L�N���M�M�!�K�K�$5�$5�E�$5�$J�M�K��	�	�	�#���������t�x�x��'9�:rc�<�QoUOUOU22oUOUQ*Q2QoUO2oUO	U2oUOU2UOUO
2UOU22UO2oUO	V@OOQQ5Q5oUOU2UOUO
2UOU22P!)z8Subject: one two three four five six

test body
rMz one two three four five sixz5Subject: one two three four five six

test body
r:rNr
rOrPs&     r�test_flatten_control_linesep�.TestGeneratorBase.test_flatten_control_linesep�s���\���m�m�D�H�H�V�,�-������Y��)V�W�X���L�L�N���M�M�!���	�	�	�#���������t�x�x��'9�:��L�L�N���M�M�!�K�K�$5�$5�E�$5�$J�M�K��	�	�	�#���������t�x�x��'9�:rc
��[OQ2oQ[OP	1[OP
1[OOP	Q5P	11oSFD�vq4U%cUO
QQ2LSoUOV4Q59^tt^2UOUOU22oUO2oUOVsQ5oUOU2UOUO2UOU22PPP2J�	P!)%fhJ�9h)z�            Subject: test that
             from is mangled in the body!

            From time to time I write a rhyme.
            )�mangle_from_zFrom z>From )rrWr
)NT)�textwrap�dedentr�compat32�defaultr-�replace�subTestrrrrrr r!)	rrB�variants�p�manglerCrr$r%s	&        r�test_set_mangle_from_via_policy�1TestGeneratorBase.test_set_mangle_from_via_policy�s������"���
�
�_�_�d�#�
�^�^�U�#�
�^�^�
!�
!�t�
!�
4�d�;�	��"�I�A�<B�v�~�~�g�x�8��H����Q��<�<��m�m�D�H�H�V�$4�5���L�L�N���M�M�!�M�.���	�	�#��� � �����t�x�x��/A�B�=�<�"�<�<�<�s�BD-	�-D>
�6D>
c��UOUOUO]*22oUO2oUO	U[
OOPQ5Q5oUOU2UOUO2UOUO]*22P!r))rrrrrrrZr-rr r!)rrr$r%s&   r�5test_compat32_max_line_length_does_not_fold_when_none�GTestGeneratorBase.test_compat32_max_line_length_does_not_fold_when_none�s����m�m�D�H�H�T�%>�%>�q�%A�B�C���L�L�N���M�M�!�F�O�O�$9�$9�$�$9�$O�M�P��	�	�	�#���������t�x�x��0I�0I�!�0L�'M�Nrc��UOUO[OQ222o[OQ2oUO	2oUOV0OO]!Q5Q5oUOU2UOUO2UOU22P!)��            To: nobody
            Content-Disposition: attachment;
             filename="afilenamelongenoghtowraphere"

            None
            z�            To: nobody
            Content-Disposition: attachment;
             filename*0*=us-ascii''afilename;
             filename*1*=longenoghtowraphere

            None
            r*r
�rrrXrYrrrr-rr r!�rrrCr$r%s&    r�test_rfc2231_wrapping�'TestGeneratorBase.test_rfc2231_wrapping�s����m�m�D�H�H�X�_�_�6�&�����?�?�$���
�L�L�N���M�M�!�K�K�$5�$5�b�$5�$I�M�J��	�	�	�#���������t�x�x��'9�:rc��UOUO[OQ222o[OQ2oUO	2oUOV0OO]Q5Q5oUOU2UOUO2UOU22P!)rgz�            To: nobody
            Content-Disposition:
             attachment;
             filename*0*=us-ascii''afilenamelongenoghtowraphere

            None
            r*r
rhris&    r�;test_rfc2231_wrapping_switches_to_default_len_if_too_narrow�MTestGeneratorBase.test_rfc2231_wrapping_switches_to_default_len_if_too_narrow�s����m�m�D�H�H�X�_�_�6�&�����?�?�$���
�L�L�N���M�M�!�K�K�$5�$5�b�$5�$I�M�J��	�	�	�#���������t�x�x��'9�:rc��UOUO[OQ222o[OQ2oUO	2oUOV0OO]PQ5Q5oUOU2UOUO2UOU22P!)�            To: nobody
            Subject: Bad subject=?UTF-8?Q?=0A?=Bcc: injection@example.com

            None
            r*r
rhris&    r�test_keep_encoded_newlines�,TestGeneratorBase.test_keep_encoded_newliness����m�m�D�H�H�X�_�_�6�&�����?�?�$���
�L�L�N���M�M�!�K�K�$5�$5�b�$5�$I�M�J��	�	�	�#���������t�x�x��'9�:rc��UOUO[OQ222o[OQ2oUO	2oUOV0OO]Q5Q5oUOU2UOUO2UOU22P!)rpz�            To: nobody
            Subject: Bad subject
             =?utf-8?q?=0A?=Bcc:
             injection@example.com

            None
            r*r
rhris&    r�test_keep_long_encoded_newlines�1TestGeneratorBase.test_keep_long_encoded_newliness����m�m�D�H�H�X�_�_�6�&�����?�?�$���
�L�L�N���M�M�!�K�K�$5�$5�b�$5�$I�M�J��	�	�	�#���������t�x�x��'9�:rc�(�UOOP
]Q5oUOUO2UQ5o,QNoSFD�vqEoUO	UQ59^tt^2[2oVGQ$Q[OU2QUQ0oUO[OOU29^tt^2UOU2PPP2PPP2J�	P!)%fhK9h)%fhJ�9h)	F)�utf8r+r
)�address�Toz(?i)(?=.*non-ascii)(?=.*z)(?=.*z)(?=.*policy.*utf8)))�wők@example.com�wők�
local-part)uwok@exàmple.comuexàmple.com�domain)uwők@exàmple.comr{r|)u&"Name, for display" <wők@example.com>rz�	addr-spec)uNäyttönimi <wők@example.com>rzr~)u5"a lőng quoted string as the local part"@example.comu'a lőng quoted string as the local partr|)
rr-rrr]r�re�escape�assertRaisesRegex�email�errors�HeaderWriteErrorr)	rr_r%�casesrx�badtoken�partnamer�expected_errors	&        r�test_non_ascii_addr_spec_raises�1TestGeneratorBase.test_non_ascii_addr_spec_raises+s���
�K�K���5�"��=���M�M�$�,�,�.��M�3��
��*,1�'�G�x����g��.�.�"�n��#�D�	���Y�Y�x�0�1�2�%�J�'*�+���+�+��L�L�1�1�>����I�I�c�N��/�.�,1����/�.�.�s1�'AD	�C-
�D	�-C=�6C=�8D	�D
�	D
c���UOUO[OQ22UOO]Q5Q5o[OQ2oUO
2oUOV0OO]Q5Q5oUOU2UOUO2UOU22P!)z}            To: <"a long local part in a quoted string"@example.com>
            Subject: test

            None
            r*r
z�            To: <"a long local part in a
             quoted string"@example.com>
            Subject: test

            None
            )rrrXrYrr-rrrr r!ris&    r�/test_local_part_quoted_string_wrapped_correctly�ATestGeneratorBase.test_local_part_quoted_string_wrapped_correctlyWs����m�m�D�H�H�X�_�_�6�&��
�+�+�+�+�B�+�?��A���?�?�$���
�L�L�N���M�M�!�K�K�$5�$5�b�$5�$I�M�J��	�	�	�#���������t�x�x��'9�:rc�>`�[O[O2nU1Qko[O
O
[QU29^tt^2UOOPQ5oQU*Q*o[2oUO[U22UOUO22OVQQ5UOUO2UQ*2PPP2P!)%fhP!9h)c�
:�R!�N�)�args�kwargs�tokens*,�r�_patch_random_randrange�KTestGeneratorBase._test_boundary_detection.<locals>._patch_random_randrangens����Lr�	randrange��textz this goes before the boundary
--z
this goes after
rHz.0)�randomr��sys�maxsize�test�support�	swap_attrr�_make_boundaryr�attachrrrr �get_boundary)rrIr��boundary�boundary_in_partrr�s&&    @r�_test_boundary_detection�*TestGeneratorBase._test_boundary_detectionjs����� � ����-��	��\�\�
#�
#��K�!8�
�
��}�}�3�3��3�>�H�3���'�(�
�
 �/�C��J�J�x� 0�1�2��M�M�$�,�,�.�)�1�1�#�1�G�
���S�-�-�/��D��A�
�
�
�
�s�B'D�D	�D	c�*�UOQ2P!)rG�r��rs&r�test_lf_boundary_detection�,TestGeneratorBase.test_lf_boundary_detection�s���%�%�d�+rc�*�UOQ2P!)z
r�r�s&r�test_crlf_boundary_detection�.TestGeneratorBase.test_crlf_boundary_detection�s���%�%�f�-rr�r�)#�__name__�
__module__�__qualname__�__firstlineno__rr[rrXrYr�copyr;�
length_paramsr&r.r1r7r<rDrJrQrTrardrjrmrqrtr�r�r�r�r��__static_attributes__�__classdictcell__)r#�
__classdict__s0@rrrs,�����^�^�F�0�
	
�8�?�?���	�H�O�O��
�	�H�O�O��
�-)
��T!5�Q� 7����.�3�3�5��
����
����!5�5� 4�1�Q� 4�5�M�O�O�O�O�N�;�;�;�";� C�,O�;�.;�0;�$;�(*#�X;�&B�0,�.�.��O	6s�=Crc�^`�\sQsQsn\\2s\s\	Os\s
QsQsQsUsP!)�
TestGenerator�c�<�QoUOUOU22oUOUQ*Q2QoUO2oUO	U2oUOU2UOUO
2UOU22UO2oUO	V@OOQQ5Q5oUOU2UOUO
2UOU22P!)u2Subject: one… two
 three
 four

test body
rMuone… two
 three
 fourzBSubject: =?utf-8?b?b25lwoUgdHdv4oCoIHRocmVl4oCp?= four

test body
r:rNr
rOrPs&     r�test_flatten_unicode_linesep�*TestGenerator.test_flatten_unicode_linesep�s���S���m�m�D�H�H�V�,�-������Y��)M�N�Z���L�L�N���M�M�!���	�	�	�#���������t�x�x��'9�:��L�L�N���M�M�!�K�K�$5�$5�E�$5�$J�M�K��	�	�	�#���������t�x�x��'9�:rc�h�QQ[2oQFD�oUOUQ59^tt^2[QUOQ5oUQUU2UQ$UO	[
OO29^tt^2UO2PPP2UO	[
OO29^tt^2UO2PPP2PPP2J�	P!)%fhKh9h)%fhK19h)%fhCJ9h)c�,`�\sQsQsnQsQsQsUsP!)�BTestGenerator.test_verify_generated_headers.<locals>.LiteralHeader��Headerc��U!r�r�)rr�s&,r�fold�GTestGenerator.test_verify_generated_headers.<locals>.LiteralHeader.fold�s���rr�)r�r�r�r��namer�r�r��r�s@r�
LiteralHeaderr��s�����D�
�
rr�r�zHeader: Value

Bodyr
r�)zValue
Bad Injection
�	NoNewLine)
�strr]rr�assertRaisesr�r�r��	as_string�as_bytes)rr�r��messages&   r�test_verify_generated_headers�+TestGenerator.test_verify_generated_headers�s���	�C�	�

�D����4��(�(�-�/��;�;���
�H�%�$1�$�$7���!��&�&�u�|�|�'D�'D�E�E��%�%�'�F��&�&�u�|�|�'D�'D�E�E��$�$�&�F�)�(�	
�F�E��E�E��)�(�(�sN�AD	�C9
�9D	�D
�#D	�9D	�D	�D	�D�D�D	�D1
�(D1
r�)r�r�r�r��staticmethodrrrr�io�StringIOrr�rr�r�r�r�r�s@rr�r��s2�����.�/�G��H��k�k�G�

�C�;� '�'rr�c�`�\sQsQsn\\2s\s\	OsQsQs
QsQsQsQsQsQ	sQ
sQsQsQ
sQsQsQsUsP!)�TestBytesGenerator�c�&�UOQ2!)�ascii)�encode)r�xs&&r�<lambda>�TestBytesGenerator.<lambda>�s
��!�(�(�7�+rc���QoQOQ2o[2oVQ$[O2o[	U2oUOU2UO
UO2U2P!)uxУведомление о принятии в работу обращения для подключения услугиz�Subject: =?utf-8?b?0KPQstC10LTQvtC80LvQtdC90LjQtSDQviDQv9GA0LjQvdGP0YLQuNC4?=
 =?utf-8?b?INCyINGA0LDQsdC+0YLRgyDQvtCx0YDQsNGJ0LXQvdC40Y8g0LTQu9GPINC/0L4=?=
 =?utf-8?b?0LTQutC70Y7Rh9C10L3QuNGPINGD0YHQu9GD0LPQuA==?=

r�rM�r�rr��BytesIOrrr r!rAs&     r�=test_defaults_handle_spaces_between_encoded_words_when_folded�PTestBytesGenerator.test_defaults_handle_spaces_between_encoded_words_when_folded�sf��9��T�U[�U[�\c�Ud�	��n���I���J�J�L���1���	�	�	�#���������x�0rc���QoQOQ2o[2oVQ$[O2o[	U2oUOU2UO
UO2U2P!)u�A very long long long long long long long long long long long long long long long long long long long long long long long súmmäryz�Subject: A very long long long long long long long long long long long long
 long long long long long long long long long long long =?utf-8?q?s=C3=BAmm?=
 =?utf-8?q?=C3=A4ry?=

r�rMr�rAs&     r�Btest_defaults_handle_spaces_when_encoded_words_is_folded_in_middle�UTestBytesGenerator.test_defaults_handle_spaces_when_encoded_words_is_folded_in_middle�sc��U��0�17����	��n���I���J�J�L���1���	�	�	�#���������x�0rc���QoQo[2oVQ$[O2o[U2oUO	U2UOUO
2U2P!)u Уведомлениеs8Subject:  =?utf-8?b?0KPQstC10LTQvtC80LvQtdC90LjQtQ==?=

rM�rr�r�rrr r!rAs&     r�/test_defaults_handle_spaces_at_start_of_subject�BTestBytesGenerator.test_defaults_handle_spaces_at_start_of_subject�sP��*��P���n���I���J�J�L���1���	�	�	�#���������x�0rc���QoQo[2oVQ$[O2o[U2oUO	U2UOUO
2U2P!)u0 ф ффффффффффффффффффф ф фsfSubject:  =?utf-8?b?0YQg0YTRhNGE0YTRhNGE0YTRhNGE0YTRhNGE0YTRhNGE0YTRhNGE0YQ=?=
 =?utf-8?b?INGEINGE?=

rMr�rAs&     r�9test_defaults_handle_spaces_at_start_of_continuation_line�LTestBytesGenerator.test_defaults_handle_spaces_at_start_of_continuation_line�sT��C��1���n���I���J�J�L���1���	�	�	�#���������x�0rc���QoQo[2oVQ$[O2o[U2oUO	U2UOUO
2U2P!)u�Re: [SOS-1495488] Commande et livraison - Demande de retour - bibijolie - 251210-AABBCC - Abo actualités digitales 20 semaines d’abonnement à 24 heures, Bilan, Tribune de Genève et tous les titres TamediasSubject: Re: [SOS-1495488] Commande et livraison - Demande de retour -
 bibijolie - 251210-AABBCC - Abo =?utf-8?q?actualit=C3=A9s?= digitales 20
 semaines =?utf-8?q?d=E2=80=99abonnement_=C3=A0?= 24 heures, Bilan, Tribune de
 =?utf-8?q?Gen=C3=A8ve?= et tous les titres Tamedia

rMr�rAs&     r�;test_defaults_handle_spaces_at_start_of_continuation_line_2�NTestBytesGenerator.test_defaults_handle_spaces_at_start_of_continuation_line_2�s[��f��
G�	��n���I���J�J�L���1���	�	�	�#���������x�0rc�(�[2Qo[2oVQ$[O2o[	U]Q5oUOU2UO
2o[U[OQ5Q*oUOVa2P!)uaaaaaaaaa фффффффф rM�rr
��printrr�r�rrr!rrr[�assertMultiLineEqual�rrBrr$r%�flat�reparseds&      r�test_ew_folding_round_trip_1�/TestBytesGenerator.test_ew_folding_round_trip_1sj��
��.���n���I���J�J�L���1�2�.��	�	�	�#���z�z�|��%�d�6�>�>�B�9�M���!�!�(�3rc�(�[2Qo[2oVQ$[O2o[	U]Q5oUOU2UO
2o[U[OQ5Q*oUOVa2P!)u#aaa aaaaaaa   aaa ффф фффф  rMr�r
r�r�s&      r�test_ew_folding_round_trip_2�/TestBytesGenerator.test_ew_folding_round_trip_2sj��
��6���n���I���J�J�L���1�2�.��	�	�	�#���z�z�|��%�d�6�>�>�B�9�M���!�!�(�3rc�:�QOQ2oQOQ2o[U2o[O2o[	V@O
O
QQ5Q5oUOU2UOUO2U2P!)u5Subject: Maintenant je vous présente mon collègue

�utf-8zPSubject: Maintenant je vous =?unknown-8bit?q?pr=C3=A9sente_mon_coll=C3=A8gue?=

r��7bit)�cte_typer
)
r�rr�r�rrr-rr r!rAs&     r�'test_cte_type_7bit_handles_unknown_8bit�:TestBytesGenerator.test_cte_type_7bit_handles_unknown_8bitsz��!�"(�&��/�	�<�=C�V�G�_�	� ��(���J�J�L���1�[�[�%6�%6��%6�%G�H��	�	�	�#���������x�0rc��[OQ2OQ2o[U2o[OQ2OQ2o[O
2o[
V@OOQQQ5Q5oUOU2UOUO2U2P!)u/            From: foo@bar.com
            To: Dinsdale
            Subject: Nudge nudge, wink, wink
            Mime-Version: 1.0
            Content-Type: text/plain; charset="latin-1"
            Content-Transfer-Encoding: 8bit

            oh là là, know what I mean, know what I mean?
            �latin1a@            From: foo@bar.com
            To: Dinsdale
            Subject: Nudge nudge, wink, wink
            Mime-Version: 1.0
            Content-Type: text/plain; charset="iso-8859-1"
            Content-Transfer-Encoding: quoted-printable

            oh l=E0 l=E0, know what I mean, know what I mean?
            r�r�rG)r�rIr
)rXrYr�rr�r�rrr-rr r!rPs&     r�&test_cte_type_7bit_transforms_8bit_cte�9TestBytesGenerator.test_cte_type_7bit_transforms_8bit_cte(s������	"�	����!�	�!��(���O�O�	%�	�����	�
�J�J�L���1�[�[�%6�%6��?C�&7�&E�
F��	�	�	�#���������x�0rc��[2oQUQ$QUQ$QUQ$UOQ2[OQ2O	Q2OQ	Q
2o[O2o[U[OQ5oUOU2UOUO2U2P!)uPáolo <főo@bàr.com>�From�DinsdaleryuNudge nudge, wink, wink ὠ9rMu/oh là là, know what I mean, know what I mean?u=            From: Páolo <főo@bàr.com>
            To: Dinsdale
            Subject: Nudge nudge, wink, wink ὠ9
            Content-Type: text/plain; charset="utf-8"
            Content-Transfer-Encoding: 8bit
            MIME-Version: 1.0

            oh là là, know what I mean, know what I mean?
            r��
�
r
)r�set_contentrXrYr�r\r�r�rr�SMTPUTF8rr r!ris&    r�test_smtputf8_policy�'TestBytesGenerator.test_smtputf8_policyDs����n��.��F����D�	�:��I�����I�J��?�?�	$�	���������!8�	�
�J�J�L���1�V�_�_�5��	�	�	�#���������x�0rc��[2o[QQQ5UQ$[QQQ5UQ$QUQ$UOQ	2[OQ
2O2O
QQ2o[O2o[U[OQ
5oUOU2UOUO2U2P!)zfoo@bar.comuPáolo)�	addr_spec�display_namerzbar@foo.comrryzNudge nudge, wink, winkrMz+oh boy, know what I mean, know what I mean?aP            From: =?utf-8?q?P=C3=A1olo?= <foo@bar.com>
            To: Dinsdale <bar@foo.com>
            Subject: Nudge nudge, wink, wink
            Content-Type: text/plain; charset="utf-8"
            Content-Transfer-Encoding: 7bit
            MIME-Version: 1.0

            oh boy, know what I mean, know what I mean?
            r	r
r
)rr	rrXrYr�r\r�r�rrr@rr r!ris&    r�test_smtp_policy�#TestBytesGenerator.test_smtp_policyYs����n���
�H�M��F���m�*�M��D�	�2��I�����E�F��?�?�	$�	����'�'�%��1�	�
�J�J�L���1�V�[�[�1��	�	�	�#���������x�0rc�$�QO2oQo[U[OQ5o[O
2o[
U[OQ5oUOU2UOUO2U2P!)u[To: jörg@example.com, "But a long name still works with refold_source" <jörg@example.com>s^To: jörg@example.com,
 "But a long name still works with refold_source" <jörg@example.com>

r
)
r�rrr[r�r�rrr r!rAs&     r�"test_non_ascii_addr_spec_preserved�5TestBytesGenerator.test_non_ascii_addr_spec_preservednsl��

j�
�&�(�	�
�	�
!�����?���J�J�L���1�V�^�^�4��	�	�	�#���������x�0rc�x�[2o[QQOQ2O2Q5UQ$QO2o[O
2o[
U[OOP	Q5Q5oUOU2UOUO2U2P!)ujörgu☕.example�idna)�usernamer}ryuTo: jörg@xn--53h.example

)rwr
)
rr	r��decoder�r�rrr[r-rr r!ris&    r�test_idna_encoding_preserved�/TestBytesGenerator.test_idna_encoding_preserved�s����n���� �'�'��/�6�6�8�
��D�	�3�9�9�;���J�J�L���1�V�^�^�%9�%9�t�%9�%D�E��	�	�	�#���������x�0rr�)r�r�r�r�r�rrrrr�r�rrr�r�r�r�r�r�r�rrr
rrrr�r�r�s@rr�r��si�����-�.�G��H��j�j�G�
+�C�1�1�1�
1�1�$
4�
4�	1�1�81�*1�*1�$1�1rr��__main__) r�rrX�unittestr�r�r�rr�
email.messager�email.mime.multipartr�email.mime.textr�email.generatorrr�email.headerregistryr	r�email.errors�test.test_emailrr
�test.supportr�rr�r�r��mainr�rr�<module>r(s���	�	���
�
�9�&�.�$�5��(���7���p.�p.��p.�f.'�%�}�.'�bQ1�*�M�Q1�h�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit