%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/test/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyc

ó
Nêáac@sdZddlZddlZddlmZddlmZdefd„ƒ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((s6/usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyt__init__s(t__name__t
__module__R(((s6/usr/local/lib/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((s6/usr/local/lib/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((s6/usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyttest_queryArgumentsscCsN|jjdƒ}|j||jƒ|jjdƒ}|j||jƒdS(Ns
//filenames//filename?foo=bar(RRRR(RR((s6/usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyttest_startWithDoubleSlashs(RRt__doc__RRR(((s6/usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyRs		cCstjtƒdS(N(Rtrun_unittestR(((s6/usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyt	test_main%st__main__(RR	tunittesttSimpleHTTPServerRttestRRtTestCaseRRR(((s6/usr/local/lib/python2.7/test/test_SimpleHTTPServer.pyt<module>s	

Zerion Mini Shell 1.0