%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyo

�
5}�ac@s:dZddlZddlZddlZddlZddlmZmZmZddlm	Z	ddl
mZde	fd��YZde	fd	��YZ
d
fd��YZd�Zd
�Zd�Zde	fd��YZde	fd��YZde	fd��YZed�Zedkr6ede�ndS(sTests for cookielib.py.i����N(t	http2timet	time2isozt
time2netscape(tTestCase(ttest_supportt
DateTimeTestscBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCs�d}d
}|jt|�d�|jt||�d�|jt|d|�d�|jt|d|�d	�t�}td
�}x1||fD]#}|j|dd||f�q�WdS(Nix+�<iis2002-04-19 14:36:40Zs2002-04-20 14:36:40Zis2002-04-21 14:36:40Zis2002-04-22 14:36:40Zi �s!^\d{4}-\d\d-\d\d \d\d:\d\d:\d\dZ$sbad time2isoz format: %s %si�Q(tassertEqualRtassertRegexpMatches(tselftbasetdaytaztbzttext((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_time2isozs		cCs�d}d
}|jt|�d�|jt||�d�|jt|d|�d�|jt|d|�d	�t�}td
�}x1||fD]#}|j|dd||f�q�WdS(Nix+�<iisFri, 19-Apr-2002 14:36:40 GMTsSat, 20-Apr-2002 14:36:40 GMTisSun, 21-Apr-2002 14:36:40 GMTisMon, 22-Apr-2002 14:36:40 GMTi �s;[a-zA-Z]{3}, \d{2}-[a-zA-Z]{3}-\d{4} \d{2}:\d{2}:\d{2} GMT$sbad time2netscape format: %s %si�Q(RRR(RR	R
RRR
((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_time2netscape s 	cCsOd�}|j|d�d
�|j|d�d�|j|d�d�dS(NcSstjt|��d S(Ni(ttimetgmtimeR(R
((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt
parse_date7ss01 Jan 2001i�iigs	03-Feb-20i�iis	03-Feb-98i�(i�iiiig(i�iiiig(i�iiiig(R(RR((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_http2time6s	c
Cs�ddddddddd	d
ddd
g
}d}t|�}d}|j||d|||f�xq|D]i}|jt|�||�|jt|j��||j��|jt|j��||j��qlWdS(NsThu, 03 Feb 1994 00:00:00 GMTs Thursday, 03-Feb-94 00:00:00 GMTs"Thursday, 03-Feb-1994 00:00:00 GMTs03 Feb 1994 00:00:00 GMTs03-Feb-94 00:00:00 GMTs03-Feb-1994 00:00:00 GMTs03-Feb-1994 00:00 GMTs03-Feb-1994 00:00s	03-Feb-94s03-Feb-1994s03 Feb 1994s  03   Feb   1994  0:00  s  03-Feb-1994  i�>P-s1994-02-03 00:00:00Zs%s  =>  '%s' (%s)(RRRtlowertupper(Rtteststtest_ttresulttexpectedts((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_http2time_formatsBs,	
%c
Cs_xXddddddddd	d
g
D]2}|jt|�dkd|t|�f�q%WdS(NttGarbagesMandag 16. September 1996s
01-00-1980s
01-13-1980s
00-01-1980s
32-01-1980s01-01-1980 25:00:00s01-01-1980 00:61:00s01-01-1980 00:00:62s,http2time(%s) is not None
http2time(test) %s(t
assertTrueRtNone(Rttest((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_http2time_garbagefs
(t__name__t
__module__RRRRR!(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyRs
				$tHeaderTestscBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCsVddlm}ddd
gg}x-d	d
gD]}|j||g�|�q/WdS(Ni����(tparse_ns_headerstfootbartexpiresld9Wtversiont0s)foo=bar; expires=01 Jan 2040 22:23:32 GMTs+foo=bar; expires="01 Jan 2040 22:23:32 GMT"(R&R'(R(ld9W(R)R*(t	cookielibR%R(RR%Rthdr((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_parse_ns_headers_expires{s
cCsSddlm}d	d
gg}x-ddgD]}|j||g�|�q,WdS(Ni����(R%R&R'R)t1sfoo=bar; version="1"sfoo=bar; Version="1"(R&R'(R)R.(R+R%R(RR%RR,((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_parse_ns_headers_version�s
cCsBddlm}d}dd	gg}|j||g�|�dS(
Ni����(R%s expires=01 Jan 2040 22:23:32 GMTR(s01 Jan 2040 22:23:32 GMTR)R*(R(s01 Jan 2040 22:23:32 GMT(R)R*(R+R%R(RR%R,R((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt#test_parse_ns_headers_special_names�scCsRddlm}|dd	gg�}|j|d�|j|gg�d�dS(
Ni����(tjoin_header_wordsR&R'tbazsfoo; bar=bazR(R&N(R'R2(R+R1RR(RR1tjoined((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_join_header_words�sc	Cs�ddlm}ddggfddggfddggfddggfd	dggfd
d ggfdd!d"ggfd
d#d$ggfdd%ggfdd&d'ggfdd(d)d*ggfdd+gd,gd-ggfdd.d/gd0gd1gd2ggfg
}x�|D]�\}}y||g�}WnKddl}ddl}|j�}|jd|�d|j�}nX|j||d|||f�qWdS(3Ni����(tsplit_header_wordsR&sfoo=barR's	   foo   s
   foo=   Rs   foo=s   foo=   ; s   foo=   ; bar= baz R2sfoo=bar bar=bazsfoo= bar=bazsbar=bazsfoo=bar;bar=bazsfoo bar bazsa, b, ctatbtcs(foo; bar=baz, spam=, foo="\,\;\"", bar= tspams,;"s (error -- traceback follows)

%ss:
When parsing: '%s'
Expected:     '%s'
Got:          '%s'
(R&N(R&R'(R&N(R&R(R&R(R&R(R&R(R'R2(R&R'(R'R2(R&sbar=baz(R&R'(R'R2(R&N(R'N(R2N(R6N(R7N(R8N(R&N(R'R2(R9R(R&s,;"(R'R(R+R5Rt	tracebacktStringIOt	print_exctgetvalueR(	RR5RtargtexpectRR:R;tf((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_split_header_words�s4	cCs�ddlm}m}ddddddd d!d"d#d$d%d&g
}xR|D]J\}}||g�}||�}|j||d||||f�qJWdS('Ni����(R5R1R&sfoo=bars	   foo   sfoo=sfoo=""sfoo=bar bar=bazsfoo=bar; bar=bazsfoo=bar;bar=bazsfoo bar bazs
foo; bar; bazsfoo="\"" bar="\\"sfoo="\""; bar="\\"s	foo,,,barsfoo, barsfoo=bar,bar=bazsfoo=bar, bar=bazstext/html; charset=iso-8859-1stext/html; charset="iso-8859-1"s)foo="bar"; port="80,81"; discard, bar=bazs'foo=bar; port="80,81"; discard, bar=bazsBasic realm="\"foo\\\\bar\""sBasic; realm="\"foo\\\\bar\""sM
When parsing: '%s'
Expected:     '%s'
Got:          '%s'
Input was:    '%s'
(R&R&(sfoo=barsfoo=bar(s	   foo   R&(sfoo=sfoo=""(sfoo=bar bar=bazsfoo=bar; bar=baz(sfoo=bar;bar=bazsfoo=bar; bar=baz(sfoo bar bazs
foo; bar; baz(sfoo="\"" bar="\\"sfoo="\""; bar="\\"(s	foo,,,barsfoo, bar(sfoo=bar,bar=bazsfoo=bar, bar=baz(stext/html; charset=iso-8859-1stext/html; charset="iso-8859-1"(s)foo="bar"; port="80,81"; discard, bar=bazs'foo=bar; port="80,81"; discard, bar=baz(sBasic realm="\"foo\\\\bar\""sBasic; realm="\"foo\\\\bar\""(R+R5R1R(RR5R1RR>R?tinputtres((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_roundtrip�s,	(R"R#R-R/R0R4RARD(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyR$ys			
		$tFakeResponsecBs eZgdd�Zd�ZRS(cCsOddl}ddl}|jdj|��}|j|�|_||_dS(sD
        headers: list of RFC822-style 'Key: value' strings
        i����Ns
(t	mimetoolsR;tjointMessaget_headerst_url(RtheadersturlRFR;R@((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt__init__�scCs|jS(N(RI(R((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pytinfo�RN(R"R#RRMRN(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyRE�scGst|||d�S(NsSet-Cookie2(t	_interact(t	cookiejarRLtset_cookie_hdrs((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt
interact_2965�scGst|||d�S(Ns
Set-Cookie(RO(RPRLRQ((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pytinteract_netscape�sc
Cs�ddlm}||�}|j|�|jdd�}g}x%|D]}|jd||f�qHWt||�}	|j|	|�|S(sDPerform a single request / response cycle, returning Cookie: header.i����(tRequesttCookieRs%s: %s(turllib2RTtadd_cookie_headert
get_headertappendREtextract_cookies(
RPRLRQthdr_nameRTtreqt
cookie_hdrRKR,RC((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyRO�s

tFileCookieJarTestscBseZd�Zd�ZRS(cCs�ddlm}tj}|�}t|dd�|j|jdddjd�z3|j	|dt
�|�}|j|dt
�Wdytj
|�Wntk
r�nXX|j|jdddjd�dS(Ni����(tLWPCookieJarshttp://www.acme.com/tbooswww.acme.comt/tignore_discard(R+R_RtTESTFNRSRt_cookiestvalueRtsavetTruetloadtostunlinktOSError(RR_tfilenameR8((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_lwp_valueless_cookies		"	
c	Csddlm}m}m}tj}xg||fD]Y}|�}y|jdd�Wn&tk
r}}|j|j	t�q2X|j
d�q2WzVt|d�}|jd�x3||fD]%}|�}|j
||j|�q�WWdytj|�Wntk
rnXXdS(Ni����(R_tMozillaCookieJart	LoadErrorRlsAfor this test to work, a file with this filename should not exists%expected IOError for invalid filenametwsoops
(R+R_RnRoRRcRhtIOErrorRt	__class__tfailtopentwritetassertRaisesRiRjRk(	RR_RnRoRltcookiejar_classR8texcR@((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_bad_magics&		
	
(R"R#RmRy(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyR^
s	tCookieTestscBs(eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!RS( c	Csjddl}ddl}|j�}x?ddtfddtfddtfddtfddtfddtfdd	tfdd
tfddtfdd
tfddtfdd
tfddtfddtfddtfddtfddtfdd
tfddtfgD]S\}}}|j|�}|j||�}|rU|j|�q|j|�qWdS(Ni����shttp://foo.bar.com/sblah.comsrhubarb.blah.comsrhubarb.foo.bar.coms.foo.bar.comsfoo.bar.coms.bar.comsbar.comtcomshttp://foo.com/srhubarb.foo.coms.foo.comsfoo.comshttp://foo/srhubarb.foos.fooR&s	foo.locals.localshttp://barfoo.com(	R+RVtDefaultCookiePolicytFalseRgRTtdomain_return_okRtassertFalse(	RR+RVtpolRLtdomaintoktrequesttr((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_domain_return_okds6cCswddlm}m}tj}||�}t|dd�t|dd�|jddd}|j|j�|j	|j
d�|jddd	}|j|j�|j	|j
d	�|j	||�d
�t|�}|jdt
dt
�z&||�}|jdt
dt
�Wdtj|j�X|j	t|�tjd
t
d
t|��|j	t|d�d�dS(Ni����(Rntlwp_cookie_strshttp://www.acme.com/teggss"spam"; path=/foo/swww.acme.comRas/foo/s"spam"sJ"spam"; path="/foo/"; domain="www.acme.com"; path_spec; discard; version=0tignore_expiresRbspath_specified=%sshttp://www.acme.com/foo/s"spam"; eggs(R+RnR�RRcRSRdtassertIsNoneReRtnametreprRfRgtrevertRiRjRltretsubR}(RRnR�RlR8tcookietold_str((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_missing_value�s2		
c
Cs;ddlm}m}xdtdfdtdfttdfttdfttdfttdfgD]�\}}}|d|d|�}||�}t|dd�y|jd	d
d}Wntk
r�|j	|�qeX|j
|j|�t|dd�|re|jd	d
d
}	|j
|	jd�qeqeWdS(Ni����(t	CookieJarR|iitrfc2109_as_netscapetrfc2965shttp://www.example.com/sni=ni; Version=1swww.example.comRatnisfoo=bar; Version=1R&(
R+R�R|RR}RgRSRdtKeyErrorR�RR)RR(
RR�R|R�R�R)tpolicyR8R�t
cookie2965((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_rfc2109_handling�s.	
	cCsaddlm}m}|�}t|dd�t|dd�t|dd�t|dd�t|dd	�t|dd
�t|dd�t|dd�|jd
dd}|j|jd
�|j|j�|j|j	|�|j
|j�|j|jd��|j
|jd��|jddd}|j|jd�|j
|j�|j|j	d�|j|j�|jddd}|j
|j	�|j
|j�|jddd}|jddd}|j
|j�|j
|j�|jddd}|j|j�|j|jd�|jddd}|j
|j�dS(Ni����(R�tDEFAULT_HTTP_PORTshttp://www.acme.com/s0spam=eggs; DoMain=.acme.com; port; blArgh="feep"sni=ni; port=80,8080shttp://www.acme.com:80/snini=nisfoo=bar; expires=s-spam=eggs; expires="Foo Bar 25 33:22:11 3022"s	fortytwo=s=unladenswallowtholyhandgrenades	.acme.comRaR9tblArghtblarghswww.acme.comR�s80,8080tniniR&tfortytwoR(R+R�R�RSRdRR�Rtdomain_specifiedtportRtport_specifiedthas_nonstandard_attrR�R(tassertIsNotNoneRe(RR�R�R8R�R&R9((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_ns_parser�sF		cCstddlm}|�}t|dd�t|dd�|jdd}|jd|k�|jd	|k�dS(
Ni����(R�shttp://www.acme.com/sexpires=eggssversion=eggs; spam=eggsswww.acme.comRaR(R)(R+R�RSRdR(RR�R8tcookies((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_ns_parser_special_names�s	cCs�ddlm}m}|�}|tj�d�}t|dd|�|jt|�d�|tj�d�}t|dd|�t|d�}|jt|�d�|jd|ko�d	|k�t|dd
|�t|dd|�|jt|�d�t|dd
|�t|dd|�t|d�}|jt|�d�t|dd�|jt|�d�|j�|jt|�d�|j	d|�dS(Ni����(RR�ishttp://www.acme.com/sspam="bar"; expires=%sisfoo="eggs"; expires=%ss
spam="bar"R&seggs="bar"; expires=%ssbar="bar"; expires=%sis!eggs="bar"; expires=%s; max-age=0s bar="bar"; max-age=0; expires=%sshttp://www.rhubarb.net/swhum="fizz"i(
R+RR�RRSRtlenRtclear_session_cookiestassertIn(RRR�R8tfuturetnowth((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_expiress8	
cCs�ddlm}m}|dt�}||�}t|dd�|jd|jd�||�}t|dd	�|jd|jd�||�}t|d
d	�|jd|jd�||�}t|dd	�|jd
|jd�|�}t|dd�|jd|jd�|�}t|dd�|jd|jd�|�}t|d
d�|jd|jd�|�}t|dd�|jd|jd�dS(Ni����(R�R|R�shttp://www.acme.com/sspam="bar"; Version="1"Raswww.acme.comshttp://www.acme.com/blahseggs="bar"; Version="1"s http://www.acme.com/blah/rhubarbs/blah/s!http://www.acme.com/blah/rhubarb/s/blah/rhubarb/s
spam="bar"s
eggs="bar"s/blahs
/blah/rhubarb(R+R�R|RgRRR�RdRS(RR�R|R�R8((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_default_path0s8						cCs\tj�}d}d}t|||�|jd|jd�|jt||�|�dS(Nshttp://example.com/?spam/eggss
eggs="bar"Rasexample.com(R+R�RSR�RdR(RtcjturiRe((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_default_path_with_queryZscCshddlm}dddddddddddg}x*|D]"\}}|j||�|�q>WdS(Ni����(tescape_paths/foo%2f/bars/foo%2F/bars
/foo%%/bars/fo%19o/bars/fo%7do/bars/fo%7Do/bars	/foo/bar&s	/foo//bars	~/foo/bars	/foo/bars/foo%19/bars	/}foo/bars/%7Dfoo/baru/foo/barꯍs/foo/bar%EA%AF%8D(s/foo%2f/bars/foo%2F/bar(s/foo%2F/bars/foo%2F/bar(s
/foo%%/bars
/foo%%/bar(s/fo%19o/bars/fo%19o/bar(s/fo%7do/bars/fo%7Do/bar(s	/foo/bar&s	/foo/bar&(s	/foo//bars	/foo//bar(s	~/foo/bars	~/foo/bar(s	/foo/bars/foo%19/bar(s	/}foo/bars/%7Dfoo/bar(u/foo/barꯍs/foo/bar%EA%AF%8D(R+R�R(RR�tcasesR>R((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_escape_pathds	cCs�ddlm}ddlm}|d�}|j||�d�|d�}|j||�d�|d�}|j||�d	�dS(
Ni����(RT(trequest_pathsThttp://www.example.com/rheum/rhaponticum;foo=bar;sing=song?apples=pears&spam=eggs#nis$/rheum/rhaponticum;foo=bar;sing=songsBhttp://www.example.com/rheum/rhaponticum?apples=pears&spam=eggs#nis/rheum/rhaponticumshttp://www.example.comRa(RVRTR+R�R(RRTR�R\((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_request_path|scCs]ddlm}m}ddlm}|�}|dt�}||�}d}t||d�|jddd	}x�dtfd
tfdtfdtfd
tfgD]�\}	}
dj	||	�}||�}t||�}
|
r |j
d|
dj	|	��|j|j||��q�|j
d|
dj	|	��|j|j||��q�WdS(Ni����(R�R|(RTtstrict_ns_set_pathshttp://bar.comsspam=eggs; Path=/foosbar.coms/fooR9s/foo/s/foo/barRas/foobad/foos{0}{1}s	spam=eggsscookie not set for {0}scookie set for {0}(R+R�R|RVRTRgRSRdR}tformatR�Rtset_ok_pathtassertNotInR(RR�R|RTR�tstrict_ns_path_polR8tbase_urlR�tpathR�RLR\R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_path_prefix_match�s.				cCs�ddlm}ddlm}m}|ddidd6�}|j||�d�|d	didd6�}|j||�|�dS(
Ni����(RT(trequest_portR�shttp://www.acme.com:1234/RKswww.acme.com:4321tHostt1234shttp://www.acme.com/(RVRTR+R�R�R(RRTR�R�R\((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_request_port�s		cCs�ddlm}ddlm}|ddidd6�}|j||�d�|d	did
d6�}|j||�d�|ddidd6�}|j||�d�|d
didd6�}|j||�d�dS(Ni����(RT(trequest_hostshttp://1.1.1.1/RKswww.acme.com:80R�s1.1.1.1shttp://www.acme.com/sirrelevant.comswww.acme.coms/resource.htmls&http://www.acme.com:2345/resource.htmlswww.acme.com:5432(RVRTR+R�R(RRTR�R\((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_request_host�s				cCs�ddlm}|j|d��|j|d��|j|d��|j|d��|j|d��|j|d��|j|d	��|j|d
��dS(Ni����(tis_HDNsfoo.bar.coms1foo2.3bar4.5coms192.168.1.1Rt.s.foo.bar.coms..foosfoo.(R+R�RR(RR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_is_HDN�scCs�ddlm}|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d�d�|j|d	�d	�|j|d
�d
�|j|d�d�dS(Ni����(treachswww.acme.coms	.acme.comsacme.coms
acme.locals.locals.comR�Rs192.168.0.1(R+R�R(RR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt
test_reach�scCs�ddlm}m}|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|d	d
��|j|d
d	��|j|dd��|j|d
d��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��|j|dd��dS(Ni����(tdomain_matchtuser_domain_matchs192.168.1.1s.168.1.1sx.y.comsx.Y.coms.Y.comsY.coms	a.b.c.coms.c.coms
example.locals.locals	blah.blahRs.rhubarb.rhubarbsacme.coms	.acme.comsrhubarb.acme.comswww.rhubarb.acme.comsy.coms.y.coms.comR{tms.mR�(R+R�R�RR(RR�R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_domain_match�s@cCsCddlm}|�}t|dd�|jt|�d�dS(Ni����(R�shttp://www.nasty.com/s)foo=bar; domain=friendly.org; Version="1"i(R+R�RRRR�(RR�R8((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_wrong_domains
		cCs�ddlm}m}|dt�}|d|�}t|dd�t|dd�|jt|�d�xDd	d
ddgD]0}t|d
|d�|jt|�d�q}WdS(Ni����(R�R|t
strict_domainR�shttp://example.co.uk/sno=problemos!okey=dokey; Domain=.example.co.ukis.co.uks.org.zas.tx.uss.name.usshttp://example.%s/sspam=eggs; Domain=.co.uk(R+R�R|RgRSRR�(RR�R|tcpR�t
pseudo_tld((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_strict_domains	
cCs�ddlm}m}|�}t|dd�|jt|�d�|j|jdddjd	�|jt|d�d�|jt|d
�d�|d|j�}|j	|�|jt|d
�d�t|d
d�t|dd�|jt|�d�|j|jdddjd�|j|jdddjd�|jt|d�d�t|dd�|jt|�d�t|dd�|jt|�d�dS(Ni����(R�R|shttp://foo.net/sns=barisfoo.netRatnsR'shttp://www.foo.net/tstrict_ns_domainRshttp://foo.net/foo/sspam1=eggs; domain=foo.netshttp://foo.net/foo/bar/sspam2=eggs; domain=.foo.netis.foo.nets/footspam1R�s/foo/bartspam2sspam2=eggs; spam1=eggs; ns=barsnini="ni"; domain=.netshttp://foo.co.uksnasty=trick; domain=.co.uki(
R+R�R|RSRR�RdRetDomainStrictNonDomaint
set_policy(RR�R|R8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_two_component_domain_ns s6	"
		cCs�ddlm}m}|dt�}||�}t|dd�|jt|�d�|j|jddd	jd
�|jt|d�d�|jt|d�d
�t|dd�|jt|�d�|jt|d�d�t|dd�|j|jdddjd�|jt|�d�|jt|d�d�|jt|d�d�t|dd�|jt|�d�t|dd�|jt|�d�dS(Ni����(R�R|R�shttp://foo.net/sfoo=bar; Version="1"isfoo.netRaR&R's$Version=1; foo=barshttp://www.foo.net/Rshttp://foo.net/foos1spam=eggs; domain=foo.net; path=/foo; Version="1"shttp://www.foo.net/foo/s&spam=eggs; domain=foo.net; Version="1"s.foo.nets/foo/R9R�ishttp://foo.net/foo/s($Version=1; spam=eggs; $Domain="foo.net"s#ni="ni"; domain=".net"; Version="1"shttp://foo.co.uk/s'nasty=trick; domain=.co.uk; Version="1"i(	R+R�R|RgRRRR�RdRe(RR�R|R�R8((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt!test_two_component_domain_rfc2965Rs:"				c	Cs�ddlm}m}ddlm}|d|ddgddg��}|d	�}d
g}t|d	�}|j||�|jt|�d�|d�}t|d�}|j||�|jt|�d
�|d�}t|d�}|j||�|jt|�d
�|d�}t|d�}|j	||�}|j
|d�|jt|�d�|j|�|j|j
d��dS(Ni����(R�R|(RTR�tblocked_domainssacme.comtallowed_domainsswww.acme.comshttp://acme.com/s*Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/ishttp://www.acme.com/ishttp://www.coyote.com/iRU(R+R�R|RVRTRERZRR�tmake_cookiest
set_cookieRWRt
has_header(	RR�R|RTR8R\RKRCR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_domain_allow�s2		
cCsoddlm}m}ddlm}|dtddg�}|d|�}dg}|d	�}t|d	�}|j||�|jt	|�d
�|j
dg�}	|j||�|jt	|�d�|j�|d
�}t|d
�}|j||�|jt	|�d�|d
�}|j|�|j
|jd��|j
|jd��|j�|j
dg�|j||�|jt	|�d�|d	�}t|d	�}|j||�}
|j|
d
�|jt	|�d�|j|�|j|jd��|j�|j
g�|d�}t|d�}|j||�}
|j||�|jt	|�d�|d�}|j|�|j
|jd��|d�}|j|�|j|j|
d
|��|j|jd��|j
dg�}	|d�}|j|�|j|jd��|d�}|j|�|j|jd��dS(Ni����(R�R|(RTR�R�s	.acme.comR�s*Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/shttp://www.acme.com/isacme.comishttp://www.roadrunner.net/RUtCookie2ishttp://acme.com/shttp://badacme.com/(R+R�R|RVRTRgRERZRR�tset_blocked_domainstclearRWRR�R�R�Rt	return_ok(RR�R|RTR�R8RKR\RCtpR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_domain_block�sl	









c
Csddlm}m}x�ttfD]�}x�dD]�}|�}|rc|dt�}t}d}n|dt�}t}d}|j|�d}	|||	d||f�|||	d	||f�|j|j	d
ddj
d
�|j|j	d
ddj
d�q0Wq#WdS(Ni����(R�R|t RR�s; Version=1shttp://www.acme.com/sfoo1=bar%s%ssfoo2=bar%s; secure%sswww.acme.comRatfoo1s#non-secure cookie registered securetfoo2s#secure cookie registered non-secure(R�R(R+R�R|RgR}RSRRR�RRdtsecureR(
RR�R|R�t
whitespaceR8R�tinttvsRL((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_secure�s*
		
cCsaddlm}m}|d|dt��}t|dd�t|d�}|j|d�dS(Ni����(R�R|R�R�shttp://www.acme.com/sfoo=\b"a"r; Version=1s$Version=1; foo=\\b\"a\"r(R+R�R|RgRRR(RR�R|R8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_quote_cookie_values
cCs�ddlm}m}ddlm}d}||dt��}t||d�||�}|jt|�d�|j	|�|j
|jd��dS(	Ni����(R�R|(RTshttp://www.acme.comR�sfoo=bar; Version=1iRU(R+R�R|RVRTRgRRRR�RWRR�(RR�R|RTRLR8R\((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_missing_final_slashs
cCs�ddlm}m}|dt�}||�}d}t||d�t||�}|jd|d�||�}d}t||d�t||�}|jd	|d
�||�}d}t||d�t||�}|jd|d
�dS(
Ni����(R�R|R�shttp://foo.bar.com/sspam=eggs; Version=1tDomains*absent domain returned with domain presents%spam=eggs; Version=1; Domain=.bar.coms$Domain=".bar.com"sdomain not returneds$spam=eggs; Version=1; Domain=bar.coms$Domain="bar.com"(R+R�R|RgRRR�R�(RR�R|R�R8RLR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_domain_mirrors$cCs�ddlm}m}|dt�}||�}d}t||d�t||�}|jd|d�||�}d}t||d�t||�}|jd	|d
�dS(Ni����(R�R|R�shttp://foo.bar.com/sspam=eggs; Version=1tPaths&absent path returned with path presentsspam=eggs; Version=1; Path=/s	$Path="/"spath not returned(R+R�R|RgRRR�R�(RR�R|R�R8RLR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_path_mirror-scCs9ddlm}m}|dt�}||�}d}t||d�t||�}|jd|d�||�}d}t||d�t||�}|j|d	d
�||�}d}t||d�t||�}|jd|d
�||�}d}t||d�t||�}|jd|d�dS(Ni����(R�R|R�shttp://foo.bar.com/sspam=eggs; Version=1tPorts&absent port returned with port presentsspam=eggs; Version=1; Ports\$Port([^=]|$)s-port with no value not returned with no valuesspam=eggs; Version=1; Port="80"s
$Port="80"s5port with single value not returned with single values$spam=eggs; Version=1; Port="80,8080"s$Port="80,8080"s;port with multiple values not returned with multiple values(R+R�R|RgRRR�RR�(RR�R|R�R8RLR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_port_mirror>s2cCsgddlm}m}||dt��}d}t||d�t||�}|jd|d�dS(Ni����(R�R|R�shttp://foo.bar.com/sfspam=eggs; Version=1; Comment="does anybody read these?"; CommentURL="http://foo.bar.net/comment.html"tComments:Comment or CommentURL cookie-attributes returned to server(R+R�R|RgRRR�(RR�R|R8RLR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_no_return_comment_scCs}ddlm}m}m}||dt��}t|dd�t|dd�t|dd�t|dd	�t|d
d�dddd
dg}dddddg}dddddg}dddddg}x�td�D]�}	d
}	x�|D]|}
|j|
|�|j	|
j
||	�|j	|
j||	�|j	|
j||	�|j	|
j
||	�|	d}	q�Wq�WdS(Ni����(R�RUR|R�shttp://blah.spam.org/sefoo=eggs; Version=1; Comment="does anybody read these?"; CommentURL="http://foo.bar.net/comment.html"shttp://www.acme.com/blah/sspam=bar; securesfoo=bar; secure; Version=1sfoo=bar; path=/; Version=1shttp://www.sol.nossbang=wallop; version=1; domain=".sol.no"; port="90,100, 80,8080"; max-age=100; Comment = "Just kidding! (\"|\\\\) "iitbangR&R9s.sol.nos
blah.spam.orgswww.acme.comRas/blahs/blah/i(R+R�RUR|RgRRRStrangetassertIsInstanceRR)R�R�R�(RR�RUR|tcstversionstnamestdomainstpathstiR8((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_Cookie_iteratorks0				
cCs�ddlm}|j|dg�ddddgg�|j|dg�dddgg�|j|dg�ddgg�|j|d
g�dddgg�|j|dg�ddgg�|j|dg�g�dS(Ni����(R%sfoo=bar; path=/; domainR&R'R�RaR�R)R*s)foo=bar; expires=Foo Bar 12 33:22:11 2000R(sfoo=bar; expiressfoo=bar; versionR(R&R'(R�Ra(R�N(R)R*(R&R'(R(N(R)R*(R&N(R)R*(R&R'(R(N(R)R*(R&R'(R)N(R+R%RR(RR%((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_parse_ns_headers�s$cCs�d�}tjtj�d�}xXdgdgdgdgdgd|ggD](}||�}|jt|�d	�qQWd
g}||�}|jddd
}|j|j�dS(NcSsXddlm}ddlm}|�}|d�}t|d�}|j||�|S(Ni����(R�(RTshttp://www.example.com/(R+R�RVRTRERZ(RKR�RTR8R\R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pytcookiejar_from_cookie_headers�s	isSet-Cookie: s
Set-Cookie2: s-Set-Cookie2: a=foo; path=/; Version=1; domainsSet-Cookie: b=foo; max-age=oopssSet-Cookie: b=foo; version=spamsSet-Cookie:; Expires=%sis3Set-Cookie: c=foo; expires=Foo Bar 12 33:22:11 2000swww.example.comRaR8(R+RRRR�RdR�R((RRR�RKR8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_bad_cookie_header�s			("R"R#R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RRR(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyRz5s@/	"	"	!	2	
	(	*	
				
				%			2	.	"	F						!		"	tLWPCookieTestscBsteZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
RS(c
CsCddlm}m}ddlm}tj�dd}g}||dt��}|ddid	d
6�}|jd|�t	|d�}|j
||�|d�}|j|�|j|j
d
�d�|j|j
d�d�|jd�t	|d�}|j
||�|d�}|j|�|j
d
�}	|jd|	�|jd|	�|jd�t	|d�}|j
||�|d�}|j|�|j
d
�}	|jd|	�|jd|	�|jd|	�|d�}|j|�|j
d
�}	|jd|	�|jd|	�|j|	jd��dS(Ni����(R�R|(RTiiR�shttp://www.acme.com:80/RKswww.acme.com:80R�sVSet-Cookie: CUSTOMER=WILE_E_COYOTE; path=/ ; expires=Wednesday, 09-Nov-%d 23:12:40 GMTshttp://www.acme.com/RUsCUSTOMER=WILE_E_COYOTER�s$Version="1"s4Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/shttp://www.acme.com/foo/bars PART_NUMBER=ROCKET_LAUNCHER_0001s%Set-Cookie: SHIPPING=FEDEX; path=/fooshttp://www.acme.comsSHIPPING=FEDEXshttp://www.acme.com/foo/sSHIPPING=FEDEX;(R+R�R|RVRTRt	localtimeRgRYRERZRWRRXR�R�Rt
startswith(
RR�R|RTt
year_plus_oneRKR8R\RCR�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_netscape_example_1�sN&	





cCs�ddlm}ddlm}|�}g}|d�}|jd�t|d�}|j||�|d�}|j|�|j|j	d�d�|jd�t|d�}|j||�|d	�}|j|�|j
|j	d�d
�dS(Ni����(R�(RTshttp://www.acme.com/s4Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/RUs PART_NUMBER=ROCKET_LAUNCHER_0001s6Set-Cookie: PART_NUMBER=RIDING_ROCKET_0023; path=/ammoshttp://www.acme.com/ammosBPART_NUMBER=RIDING_ROCKET_0023;\s*PART_NUMBER=ROCKET_LAUNCHER_0001(R+R�RVRTRYRERZRWRRXR(RR�RTR8RKR\RC((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_netscape_example_2/s(	


cCs�ddlm}m}||dt��}t|dd�}|j|�t|dd�}|j|d�t|d	d
�}|j|d�|j|d�|j|d
�t|d�}|j|d�|jd|�dS(Ni����(R�R|R�shttp://www.acme.com/acme/logins3Customer="WILE_E_COYOTE"; Version="1"; Path="/acme"s!http://www.acme.com/acme/pickitems=Part_Number="Rocket_Launcher_0001"; Version="1"; Path="/acme"s=^\$Version="?1"?; Customer="?WILE_E_COYOTE"?; \$Path="/acme"$s!http://www.acme.com/acme/shippings+Shipping="FedEx"; Version="1"; Path="/acme"s^\$Version="?1"?;s7Part_Number="?Rocket_Launcher_0001"?;\s*\$Path="\/acme"s-Customer="?WILE_E_COYOTE"?;\s*\$Path="\/acme"s http://www.acme.com/acme/processs%Shipping="?FedEx"?;\s*\$Path="\/acme"t
WILE_E_COYOTE(R+R�R|RgRRRRR�(RR�R|R8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_ietf_example_1es*	
								cCs�ddlm}m}||dt��}t|ddd�t|d�}|j|d�t|d	�}|jd
|�|jd|�dS(Ni����(R�R|R�s&http://www.acme.com/acme/ammo/specifics=Part_Number="Rocket_Launcher_0001"; Version="1"; Path="/acme"s@Part_Number="Riding_Rocket_0023"; Version="1"; Path="/acme/ammo"s!http://www.acme.com/acme/ammo/...s(Riding_Rocket_0023.*Rocket_Launcher_0001shttp://www.acme.com/acme/parts/tRocket_Launcher_0001tRiding_Rocket_0023(R+R�R|RgRRRR�R�(RR�R|R8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_ietf_example_2�s
	c	Cszddlm}m}|dt�}|d|�}d}t|dd�}|j|�t|dd�}|jt|�d	�t|d
d�}|jt|�d	�t|d
d�}|jt|�d
�t|dd�}|jt|�d
�t|dd�}|jt|�d
�t|dd�}|jt|�d�t|dd�}|jt|�d�t|dd�}|jt|�d�t|dd�}|jt|�d�t|dd�}|jt|�d�tj	}zE|j
|dt�t|�}|d|�}|j|dt�Wdyt
j|�Wntk
r^nXX|j|t|��dS(Ni����(R|R_R�R�smax-age=3600shttp://www.acme.coms!foo=bar; domain=".com"; version=1s'ping=pong; domain="acme.com"; version=1ishttp://www.a.acme.coms'whiz=bang; domain="acme.com"; version=1s,wow=flutter; domain=".a.acme.com"; version=1ishttp://125.125.125.125s*zzzz=ping; domain="125.125.125"; version=1shttp://www.sol.nos6blah=rhubarb; domain=".sol.no"; path="/foo"; version=1shttp://www.sol.no/foo/bars3bing=bong; domain=".sol.no"; path="/foo"; version=1is5whiz=ffft; domain=".sol.no"; port="90,100"; version=1ssbang=wallop; version=1; domain=".sol.no"; port="90,100, 80,8080"; max-age=100; Comment = "Just kidding! (\"|\\\\) "is9foo9=bar; version=1; domain=".sol.no"; port; max-age=100;ishttp://www.sol.no/<oo/s"foo8=bar; version=1; path="/%3coo"iRb(R+R|R_RgRRRRR�RRcRfR�RhRiRjRk(	RR|R_R�R8tmax_ageR�Rltold((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_rejectionsb		
																					
cCs�ddlm}m}||dt��}t|dd�t|dd�}tjdtj�}|jd	|�|j	||�t|d
�}|j
|�t|d�}dS(Ni����(R�R|R�s1http://www.acme.com/foo%2f%25/%3c%3c%0Anew%E5/%E5sfoo  =   bar; version    =   1s+http://www.acme.com/foo%2f%25/<<%0anew�/��s bar=baz; path="/foo/"; version=1s^\$version=\"?1\"?sfoo=bars)http://www.acme.com/foo/%25/<<%0anew�/��uhttp://www.acme.com/ü(R+R�R|RgRRR�tcompiletIR�RR(RR�R|R8R�t
version_re((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_url_encodingls		
csVddlm�m�tj�dd}tj���d�dt��}t|dd�t|dd	�t|dd
�d|f}t	|dd
|�t	|dd|�t	|dd|����fd�}||t�}|j
t|�d�|jdt
|��||t�}|j
t|�d�|jdt
|��dS(Ni����(RnR|iiR�R�shttp://www.acme.com/s foo1=bar; max-age=100; Version=1s4foo2=bar; port="80"; max-age=100; Discard; Version=1sfoo3=bar; secure; Version=1sexpires=09-Nov-%d 23:12:40 GMTshttp://www.foo.com/sfooa=bar; %ssfoob=bar; Domain=.foo.com; %ss fooc=bar; Domain=www.foo.com; %scsiz<|jd|����dt��}|jd|�Wdytj��Wntk
rcnXX|S(NRbR�(RfRgRhRiRjRk(R�Rbtnew_c(R|RnRl(s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pytsave_and_restore�s
isname='foo1', value='bar'i(R+RnR|RRRRcRgRRRSRR�R�R�R}(RR
R8R(RR((R|RnRls</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_mozilla�s0				
			cCs�ddlm}ddlm}|�}g}|d�}|jd�t|d�}|j||�|jd�t|d�}|j||�|d�}|j|�|jd|j	d	�ko�d
|j	d	�k�dS(Ni����(R�(RTshttp://foo.bar.acme.com/foos4Set-Cookie: Customer=WILE_E_COYOTE; domain=.acme.comshttp://www.acme.com/foos4Set-Cookie: PART_NUMBER=3,4; domain=foo.bar.acme.comsPART_NUMBER=3,4RUsCustomer=WILE_E_COYOTE(
R+R�RVRTRYRERZRWRRX(RR�RTR8RKR\RC((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_netscape_misc�s 	


cCs�ddlm}m}||dt��}t|dd�t|dd�}|jd|�t|dd�t|d�}|jd	|�|jt|�d
�dS(Ni����(R�R|R�shttp://example/s#foo1=bar; PORT; Discard; Version=1;s$foo2=bar; domain=".local"; Version=1sfoo1=barsfoo3=bar; Version=1sfoo2=bari(R+R�R|RgRRR�RR�(RR�R|R8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_intranet_domains_2965�s			cCs�ddlm}m}||dt��}t|dd�t|dd�}|jt|�d�|jd|�t|d�}|jd|�|jt|�d�dS(	Ni����(R�R|R�shttp://example/sfoo1=barsfoo2=bar; domain=.localisfoo2=bar(R+R�R|R}RSRR�R�(RR�R|R8R�((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_intranet_domains_ns�s		cCsddlm}m}ddlm}||dt��}g}|d�}|jd�t|d�}|j||�|d�}|j	|�|j
|jd�d�|j
|jd	�d
�|d�}|j	|�|j
|jd�d�|j
|jd	�d
�dS(Ni����(R�R|(RTR�shttp://www.ants.com/s,Set-Cookie: JSESSIONID=ABCDERANDOM123; Path=RUsJSESSIONID=ABCDERANDOM123R�s$Version="1"shttp://www.ants.com:8080(R+R�R|RVRTRgRYRERZRWRRX(RR�R|RTR8RKR\RC((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_empty_path�s$	


cCs�ddlm}ddlm}tj�dd}|d�}g}|jd�|jd|�|jd	|�|jd
�|jd�t|d�}|�}|j||�idd6dd
6dd6dd6}x-|D]%}	d|	j	}
||
d||
<q�W|j
�x-|D]%}	d|	j	}
||
d||
<qW|j|d
|d�|j|dd�|j|dd�dS(Ni����(R�(RTiis"http://www.perlmeister.com/scriptss$Set-Cookie: s1=session;Path=/scriptssWSet-Cookie: p1=perm; Domain=.perlmeister.com;Path=/;expires=Fri, 02-Feb-%d 23:24:20 GMTs>Set-Cookie: p2=perm;Path=/;expires=Fri, 02-Feb-%d 23:24:20 GMTs<Set-Cookie: s2=session;Path=/scripts;Domain=.perlmeister.coms2Set-Cookie2: s3=session;Version=1;Discard;Path="/"t
session_aftert
perm_aftertsession_beforetperm_befores	%s_befores%s_after(
R+R�RVRTRRRYRERZReR�RtassertNotEqual(RR�RTR
R\RKRCR8tcounterR�tkey((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyttest_session_cookies	s:
		

	






(R"R#RRRRRRRRRRRR'(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyR�s	^	6	r	8	]		+				"cCstjttttt�dS(N(Rtrun_unittestRR$RzR^R(tverbose((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt	test_main7st__main__R)(t__doc__R+RiR�RRRRtunittestRR RRR$RERRRSROR^RzRRR*R"Rg(((s</opt/plesk/python/2.7/lib64/python2.7/test/test_cookielib.pyt<module>s0jr			+������k	

Zerion Mini Shell 1.0