Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.117.251.240
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_mimetools.pyo
�
?��cc@s�ddlZddlmZddlZddlZejdde�Zejejd��Z	dej
fd��YZd�Ze
d	kr�e�ndS(
i����N(ttest_supportt	mimetoolst
deprecatedsbContent-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Foo!
t
MimeToolsTestcBs#eZd�Zd�Zd�ZRS(cCs�tjdtjd}x�ddddddd	d
gD]~}tj|�}tj�}tj|||�tj|j��}tj�}tj|||�|j|j�|�q7WdS(Nt=s
t7bitt8bittbase64squoted-printabletuuencodes
x-uuencodetuuesx-uue(	tstringt
ascii_letterstdigitstStringIORtencodetgetvaluetdecodetassertEqual(tselftstarttenctito((s:/usr/local/python-2.7/lib/python2.7/test/test_mimetools.pyttest_decodeencodescCsStdg�}x=td�D]/}tj�}|j||�|j|�qWdS(Ntid(tsettxrangeRtchoose_boundarytassertNotIntadd(RtsRtnb((s:/usr/local/python-2.7/lib/python2.7/test/test_mimetools.pyt
test_boundarys
cCs�tjtjt��}|j|j�d�|j|j�d�|j|j�d�|j|j�ddg�|j|j	�ddg�|j|j
d�d�|j|j
d�d	�|j|j
d
�d�|j|j�d�dS(Ns
text/plainttexttplainscharset=iso-8859-1s
format=flowedtcharsettformats
iso-8859-1tflowedtspamR(
RtMessageR
tmsgtext1Rtgettypetgetmaintypet
getsubtypetgetplistt
getparamnamestgetparamtNonetgetencoding(Rtmsg((s:/usr/local/python-2.7/lib/python2.7/test/test_mimetools.pyttest_message%s(t__name__t
__module__RR R2(((s:/usr/local/python-2.7/lib/python2.7/test/test_mimetools.pyRs		cCstjt�dS(N(Rtrun_unittestR(((s:/usr/local/python-2.7/lib/python2.7/test/test_mimetools.pyt	test_main1st__main__(tunittestttestRR
R
t
import_moduletTrueRR'R(tTestCaseRR6R3(((s:/usr/local/python-2.7/lib/python2.7/test/test_mimetools.pyt<module>s!	
© 2025 GrazzMean