PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /lib64/python2.7/test/
Server: Linux apophis.o2switch.net 4.18.0-553.111.1.lve.el8.x86_64 #1 SMP Fri Mar 13 13:42:17 UTC 2026 x86_64
IP: 109.234.164.184
Choose File :

Url:
Dir : //lib64/python2.7/test/test_SimpleHTTPServer.pyc

�
zfc@s�dZddlZddlZddlmZddlmZdefd��YZdejfd��YZ	d	�Z
ed
kr�e
�ndS(s^
These tests only check url parsing for now.
We don't want to require the 'network' resource.
i����N(tSimpleHTTPRequestHandler(ttest_supporttSocketlessRequestHandlercBseZd�ZRS(cCsdS(N((tself((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyt__init__s(t__name__t
__module__R(((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyRst SimpleHTTPRequestHandlerTestCasecBs)eZdZd�Zd�Zd�ZRS(s Test url parsing cCs:tj�|_tjj|jd�|_t�|_dS(Ntfilename(tostgetcwdt
translatedtpathtjoinRthandler(R((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pytsetUpscCss|jjd�}|j||j�|jjd�}|j||j�|jjd�}|j||j�dS(Ns	/filenames/filename?foo=bars/filename?a=b&spam=eggs#zot(Rttranslate_pathtassertEqualR(RR((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyttest_queryArgumentsscCsN|jjd�}|j||j�|jjd�}|j||j�dS(Ns
//filenames//filename?foo=bar(RRRR(RR((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyttest_startWithDoubleSlashs(RRt__doc__RRR(((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyRs		cCstjt�dS(N(Rtrun_unittestR(((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyt	test_main%st__main__(RR	tunittesttSimpleHTTPServerRttestRRtTestCaseRRR(((s2/usr/lib64/python2.7/test/test_SimpleHTTPServer.pyt<module>s