config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_cookielib.pyo

³ò
h”Rc@sdZddkZddkZddkZddklZddklZdefd„ƒYZdefd„ƒYZ	d	fd
„ƒYZ
d„Zd„Zd
„Z
defd„ƒYZdefd„ƒYZdefd„ƒYZed„ZedjoedeƒndS(sTests for cookielib.py.iÿÿÿÿN(tTestCase(ttest_supportt
DateTimeTestscBs,eZd„Zd„Zd„Zd„ZRS(cCsÞddkl}d}d}|i||ƒdƒ|i|||ƒdƒ|i||d|ƒd	ƒ|i||d
|ƒdƒ|ƒ}|dƒ}x:||fD],}|itid
|ƒd||fƒqªWdS(Niÿÿÿÿ(t	time2isozix+À<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(t	cookielibRtassertEqualstassert_tretsearch(tselfRtbasetdaytaztbzttext((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_time2isozs	
c
seddkl‰‡fd†}|i|dƒdƒ|i|d	ƒdƒ|i|d
ƒdƒdS(Niÿÿÿÿ(t	http2timecstiˆ|ƒƒd S(Ni(ttimetgmtime(R(R(s//usr/local/lib/python2.5/test/test_cookielib.pyt
parse_datess01 Jan 2001iÑiigs	03-Feb-20iäiis	03-Feb-98iÎ(iÑiiiig(iäiiiig(iÎiiiig(RRR(R	R((Rs//usr/local/lib/python2.5/test/test_cookielib.pyttest_http2times
cCsddkl}l}ddddddd	d
ddd
ddg
}d}||ƒ}d}|i||d|||fƒx„|D]|}||ƒ}||iƒƒ}	||iƒƒ}
|i||	jo|
jo
|jnd|||	|
|fƒq‚WdS(Niÿÿÿÿ(RRsThu, 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)s'%s'  =>  %s, %s, %s (%s)(RRRRtlowertupperR(R	RRtteststtest_ttresulttexpectedtstttt2tt3((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_http2time_formats)s4	,cCsoddkl}xXddddddd	d
ddg
D]2}|i||ƒdjd
|||ƒfƒq5WdS(Niÿÿÿÿ(RttGarbagesMandag 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(RRRtNone(R	Rttest((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_http2time_garbagePs (t__name__t
__module__RRRR$(((s//usr/local/lib/python2.5/test/test_cookielib.pyR	s			'tHeaderTestscBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsVddkl}ddd
gg}x-d	d
gD]}|i||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"(sfooR*(sexpiresld9W(sversionR-(RR(R(R	R(Rthdr((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_parse_ns_headersfscCsBddkl}d}dd	gg}|i||gƒ|ƒdS(
Niÿÿÿÿ(R(s expires=01 Jan 2040 22:23:32 GMTR+s01 Jan 2040 22:23:32 GMTR,R-(sexpiress01 Jan 2040 22:23:32 GMT(sversionR-(RR(R(R	R(R.R((s//usr/local/lib/python2.5/test/test_cookielib.pyt#test_parse_ns_headers_special_namesqscCsRddkl}|dd	ggƒ}|i|dƒ|i|ggƒdƒdS(
Niÿÿÿÿ(tjoin_header_wordsR)R*tbazsfoo; bar=bazR (sfooN(sbarR2(RR1R"R(R	R1tjoined((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_join_header_words{sc	Cs¥ddkl}ddggfddggfddggfddggfd	dggfd
d ggfdd!d"ggfd
d#d$ggfdd%ggfdd&d'ggfdd(d)d*ggfdd+gd,gd-ggfdd.d/gd0gd1gd2ggfg
}x•|D]\}}y||gƒ}WnKddk}ddk}|iƒ}|id|ƒd|iƒ}nX|i||d|||fƒqWdS(3Niÿÿÿÿ(tsplit_header_wordsR)sfoo=barR*s	   foo   s
   foo=   R s   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'
(sfooN(sfoosbar(sfooN(sfooR (sfooR (sfooR (sfooR (sbarsbaz(sfoosbar(sbarsbaz(sfoosbar=baz(sfoosbar(sbarsbaz(sfooN(sbarN(sbazN(R6N(R7N(R8N(sfooN(sbarsbaz(sspamR (sfoos,;"(sbarR (RR5R"t	tracebacktStringIOt	print_exctgetvalueR(	R	R5RtargtexpectRR:R;tf((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_split_header_wordsƒs6	cCsœddkl}l}ddddddd d!d"d#d$d%d&g
}xR|D]J\}}||gƒ}||ƒ}|i||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'
(sfoosfoo(sfoo=barsfoo=bar(s	   foo   sfoo(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\""(RR5R1R(R	R5R1RR>R?tinputtres((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_roundtrip§s.	(R%R&R/R0R4RARD(((s//usr/local/lib/python2.5/test/test_cookielib.pyR'es
		
		$tFakeResponsecBs eZgdd„Zd„ZRS(cCsOddk}ddk}|idi|ƒƒ}|i|ƒ|_||_dS(sD
        headers: list of RFC822-style 'Key: value' strings
        iÿÿÿÿNs
(t	mimetoolsR;tjointMessaget_headerst_url(R	theadersturlRFR;R@((s//usr/local/lib/python2.5/test/test_cookielib.pyt__init__ÌscCs|iS(N(RI(R	((s//usr/local/lib/python2.5/test/test_cookielib.pytinfoÔsN(R%R&R"RMRN(((s//usr/local/lib/python2.5/test/test_cookielib.pyREËscGst|||dƒS(NsSet-Cookie2(t	_interact(t	cookiejarRLtset_cookie_hdrs((s//usr/local/lib/python2.5/test/test_cookielib.pyt
interact_2965ÖscGst|||dƒS(Ns
Set-Cookie(RO(RPRLRQ((s//usr/local/lib/python2.5/test/test_cookielib.pytinteract_netscapeÙsc
CsŒddkl}||ƒ}|i|ƒ|iddƒ}g}x%|D]}|id||fƒqHWt||ƒ}	|i|	|ƒ|S(sDPerform a single request / response cycle, returning Cookie: header.iÿÿÿÿ(tRequesttCookieR s%s: %s(turllib2RTtadd_cookie_headert
get_headertappendREtextract_cookies(
RPRLRQthdr_nameRTtreqt
cookie_hdrRKR.RC((s//usr/local/lib/python2.5/test/test_cookielib.pyROÜs
tFileCookieJarTestscBseZd„Zd„ZRS(c
CsØddkl}ti}|ƒ}t|ddƒ|i|idddidƒz3|i	|dt
ƒ|ƒ}|i|dt
ƒWdyti
|ƒWntj
onXX|i|idddidƒdS(Niÿÿÿÿ(tLWPCookieJarshttp://www.acme.com/tbooswww.acme.comt/tignore_discard(RR_RtTESTFNRStassertEqualt_cookiestvalueR"tsavetTruetloadtostunlinktOSError(R	R_tfilenameR8((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_lwp_valueless_cookieës		"	c	Csddkl}l}l}ti}xi||fD][}|ƒ}y|iddƒWn(tj
o}|i|i	tƒq2X|i
dƒq2WzVt|dƒ}|idƒx3||fD]%}|ƒ}|i
||i|ƒq½WWdyti|ƒWntj
onXXdS(Niÿÿÿÿ(R_tMozillaCookieJart	LoadErrorRmsAfor this test to work, a file with this filename should not exists%expected IOError for invalid filenametwsoops
(RR_RoRpRRcRitIOErrorRdt	__class__tfailtopentwritetassertRaisesRjRkRl(	R	R_RoRpRmtcookiejar_classR8texcR@((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_bad_magicûs*	
	

	(R%R&RnRz(((s//usr/local/lib/python2.5/test/test_cookielib.pyR^ês	tCookieTestscBseZd„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„ZRS(c	CsIddk}ddk}|iƒ}xddtfddtfddtfddtfddtfddtfdd	tfd
dtfd
dtfd
d
tfd
d	tfddtfddtfddtfddtfddtfgD]V\}}}|i|ƒ}|i||ƒ}|o|i|ƒqë|i|ƒqëWdS(Niÿÿÿÿshttp://foo.bar.com/sblah.comsrhubarb.blah.comsrhubarb.foo.bar.coms.foo.bar.comsfoo.bar.coms.bar.comtcomshttp://foo.com/srhubarb.foo.coms.foo.comsfoo.comshttp://foo/srhubarb.foos.fooR)s	foo.locals.local(RRVtDefaultCookiePolicytFalseRhRTtdomain_return_okR(	R	RRVtpolRLtdomaintoktrequesttr((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_domain_return_okDs2c
Csƒddkl}l}ti}||ƒ}t|ddƒt|ddƒ|iddd}|i|idjƒ|i
|idƒ|iddd	}|i|idjƒ|i
|id	ƒ|i
||ƒd
ƒt|ƒ}|i
dtdtƒz&||ƒ}|idtdtƒWdti|iƒX|i
t|ƒtid
td
t|ƒƒ|i
t|dƒdƒdS(Niÿÿÿÿ(Rotlwp_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(RRoR†RRcRSReRRfR"RtnametreprRgRhtrevertRjRkRmRtsubR~(R	RoR†RmR8tcookietold_str((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_missing_valuecs2		
c
	CsEddkl}l}x(dtdfdtdfttdfttdfttdfttdfgD]Ø\}}}|d|d|ƒ}||ƒ}t|ddƒy|id	d
d}Wn&tj
o|i	|djƒqeX|i
|i|ƒt|ddƒ|o,|id	d
d
}	|i
|	idƒqeqeWdS(Niÿÿÿÿ(t	CookieJarR}iitrfc2109_as_netscapetrfc2965shttp://www.example.com/sni=ni; Version=1swww.example.comRatnisfoo=bar; Version=1R)(
RRR}R"R~RhRSRetKeyErrorRRdR,RR(
R	RR}R‘R’R,tpolicyR8Rt
cookie2965((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_rfc2109_handling…s0		cCsäddkl}l}|ƒ}t|ddƒt|ddƒt|ddƒt|ddƒt|dd	ƒ|id
dd}|i|id
ƒ|i|iƒ|i|i	|ƒ|i|i
ƒ|i|id
ƒo|idƒƒ|iddd}|i|idƒ|i|iƒ|i|i	dƒ|i|i
ƒ|iddd}|i|i	djƒ|i|i
ƒ|iddd}|iddd}|i|i
djƒ|i|i
djƒdS(Niÿÿÿÿ(RtDEFAULT_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	.acme.comRaR9tblArghtblarghswww.acme.comR“s80,8080tniniR)(RRR˜RSReRRRtdomain_specifiedtporttport_specifiedthas_nonstandard_attrR"R+(R	RR˜R8RR)R9((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_ns_parser¦s6		cCstddkl}|ƒ}t|ddƒt|ddƒ|idd}|id|jƒ|id	|jƒdS(
Niÿÿÿÿ(Rshttp://www.acme.com/sexpires=eggssversion=eggs; spam=eggsswww.acme.comRaR+R,(RRRSReR(R	RR8tcookies((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_ns_parser_special_namesËs	cCs¶ddkl}l}|ƒ}|tiƒdƒ}t|dd|ƒ|it|ƒdƒ|tiƒdƒ}t|dd|ƒt|dƒ}|it|ƒdƒ|id|jo
d	|jƒt|dd
|ƒt|dd|ƒ|it|ƒdƒt|dd
|ƒt|dd|ƒt|dƒ}|it|ƒdƒt|ddƒ|it|ƒdƒ|iƒ|it|ƒdƒ|id|jƒdS(Niÿÿÿÿ(t
time2netscapeRishttp://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(	RR£RRRSRtlenRtclear_session_cookies(R	R£RR8tfuturetnowth((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_expiresØs8	 
cCsÍddkl}l}|dtƒ}||ƒ}t|ddƒ|id|idjƒ||ƒ}t|dd	ƒ|id|idjƒ||ƒ}t|d
d	ƒ|id|idjƒ||ƒ}t|dd	ƒ|id
|idjƒ|ƒ}t|ddƒ|id|idjƒ|ƒ}t|ddƒ|id|idjƒ|ƒ}t|d
dƒ|id|idjƒ|ƒ}t|ddƒ|id|idjƒdS(Niÿÿÿÿ(RR}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(RRR}RhRRRReRS(R	RR}R€R8((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_default_paths8						c
Cshddkl}dddddddddddg}x*|D]"\}}|i||ƒ|ƒ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(RR«R(R	R«tcasesR>R((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_escape_path*s	cCsŠddkl}ddkl}|dƒ}|i||ƒdƒ|dƒ}|i||ƒdƒ|dƒ}|i||ƒd	ƒdS(
Niÿÿÿÿ(RT(trequest_pathsShttp://www.example.com/rheum/rhaponicum;foo=bar;sing=song?apples=pears&spam=eggs#nis=/rheum/rhaponicum;foo=bar;sing=song?apples=pears&spam=eggs#nisAhttp://www.example.com/rheum/rhaponicum?apples=pears&spam=eggs#nis+/rheum/rhaponicum?apples=pears&spam=eggs#nishttp://www.example.comRa(RVRTRR®R(R	RTR®R\((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_request_pathBsc	CsŒddkl}ddkl}l}|ddhdd<ƒ}|i||ƒdƒ|d	dhdd<ƒ}|i||ƒ|ƒdS(
Niÿÿÿÿ(RT(trequest_portR˜shttp://www.acme.com:1234/RKswww.acme.com:4321tHostt1234shttp://www.acme.com/(RVRTRR°R˜R(R	RTR°R˜R\((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_request_portSs		c	Csèddkl}ddkl}|ddhdd<ƒ}|i||ƒdƒ|d	dhd
d<ƒ}|i||ƒdƒ|ddhdd<ƒ}|i||ƒdƒ|d
dhdd<ƒ}|i||ƒ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(RVRTRR´R(R	RTR´R\((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_request_host]s				cCs²ddkl}|i|dƒƒ|i|dƒƒ|i|dƒƒ|i|dƒƒ|i|dƒƒ|i|dƒƒ|i|d	ƒƒ|i|d
ƒƒdS(Niÿÿÿÿ(tis_HDNsfoo.bar.coms1foo2.3bar4.5coms192.168.1.1R t.s.foo.bar.coms..foosfoo.(RR¶R(R	R¶((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_is_HDNtscCsÄddkl}|i|dƒdƒ|i|dƒdƒ|i|dƒdƒ|i|dƒdƒ|i|dƒdƒ|i|d	ƒd	ƒ|i|d
ƒd
ƒ|i|dƒdƒdS(Niÿÿÿÿ(treachswww.acme.coms	.acme.comsacme.coms
acme.locals.locals.comR·R s192.168.0.1(RR¹R(R	R¹((s//usr/local/lib/python2.5/test/test_cookielib.pyt
test_reachscCsÔddkl}l}|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|d	d
ƒƒ|i|d
d	ƒƒ|i|ddƒƒ|i|d
dƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|ddƒƒ|i|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.blahR s.rhubarb.rhubarbsacme.coms	.acme.comsrhubarb.acme.comswww.rhubarb.acme.comsy.coms.y.coms.comR|tms.mR·(RR»R¼R(R	R»R¼((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_domain_matchŠs@cCsCddkl}|ƒ}t|ddƒ|it|ƒdƒdS(Niÿÿÿÿ(Rshttp://www.nasty.com/s)foo=bar; domain=friendly.org; Version="1"i(RRRRRR¤(R	RR8((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_wrong_domain¯s
		cCsµddkl}l}|dtƒ}|d|ƒ}t|ddƒt|ddƒ|it|ƒdƒxDd	d
ddgD]0}t|d
|dƒ|it|ƒdƒq}WdS(Niÿÿÿÿ(RR}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(RRR}RhRSRR¤(R	RR}tcptcjt
pseudo_tld((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_strict_domainºs	
cCs´ddkl}l}|ƒ}t|ddƒ|it|ƒdƒ|i|idddid	ƒ|it|dƒdƒ|it|d
ƒdƒ|d|iƒ}|i	|ƒ|it|d
ƒdƒt|d
dƒt|ddƒ|it|ƒdƒ|i|idddidƒ|i|idddidƒ|it|dƒdƒt|ddƒ|it|ƒdƒt|ddƒ|it|ƒdƒdS(Niÿÿÿÿ(RR}shttp://foo.net/sns=barisfoo.netRatnsR*shttp://www.foo.net/tstrict_ns_domainR shttp://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(
RRR}RSRR¤ReRftDomainStrictNonDomaint
set_policy(R	RR}R8R€((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_two_component_domain_nsÊs6	"
		cCs´ddkl}l}|dtƒ}||ƒ}t|ddƒ|it|ƒdƒ|i|iddd	id
ƒ|it|dƒdƒ|it|dƒd
ƒt|ddƒ|it|ƒdƒ|it|dƒdƒt|ddƒ|i|idddidƒ|it|ƒdƒ|it|dƒdƒ|it|dƒdƒt|ddƒ|it|ƒdƒt|ddƒ|it|ƒdƒdS(Niÿÿÿÿ(RR}R’shttp://foo.net/sfoo=bar; Version="1"isfoo.netRaR)R*s$Version=1; foo=barshttp://www.foo.net/R shttp://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(	RRR}RhRRRR¤ReRf(R	RR}R€R8((s//usr/local/lib/python2.5/test/test_cookielib.pyt!test_two_component_domain_rfc2965üs:"				c		Cs’ddkl}l}ddkl}|d|ddgddgƒƒ}|d	ƒ}d
g}t|d	ƒ}|i||ƒ|it|ƒdƒ|dƒ}t|dƒ}|i||ƒ|it|ƒd
ƒ|dƒ}t|dƒ}|i||ƒ|it|ƒd
ƒ|dƒ}t|dƒ}|i	||ƒ}|i
|dƒ|it|ƒdƒ|i|ƒ|i|i
dƒƒdS(Niÿÿÿÿ(RR}(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(RRR}RVRTRERZRR¤tmake_cookiest
set_cookieRWRt
has_header(	R	RR}RTR8R\RKRCR¡((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_domain_allow*s2		
cCsddkl}l}ddkl}|dtddgƒ}|d|ƒ}dg}|d	ƒ}t|d	ƒ}|i||ƒ|it	|ƒd
ƒ|i
dgƒ}	|i||ƒ|it	|ƒdƒ|iƒ|d
ƒ}t|d
ƒ}|i||ƒ|it	|ƒdƒ|d
ƒ}|i|ƒ|i
|idƒo
|idƒƒ|iƒ|i
dgƒ|i||ƒ|it	|ƒdƒ|d	ƒ}t|d	ƒ}|i||ƒ}
|i|
d
ƒ|it	|ƒdƒ|i|ƒ|i
|idƒƒdS(Niÿÿÿÿ(RR}(RTR’RÍs	.acme.comR•s*Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/shttp://www.acme.com/isacme.comishttp://www.roadrunner.net/RUtCookie2i(RRR}RVRTRhRERZRR¤tset_blocked_domainstclearRWRRÑRÏRÐ(R	RR}RTR€R8RKR\RCtpR¡((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_domain_blockLsB	



c
	Csddkl}l}xûttfD]í}xädD]Ü}|ƒ}|o|dtƒ}t}d}n|dtƒ}t}d}|i|ƒd}	|||	d||fƒ|||	d	||fƒ|i|i	d
ddi
d
ƒ|i|i	d
ddi
dƒq0Wq#WdS(Niÿÿÿÿ(RR}t R R’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 (RRR}RhR~RSRRRÊRRetsecure(
R	RR}RÅt
whitespaceR8R€tinttvsRL((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_securews.
	

cCsaddkl}l}|d|dtƒƒ}t|ddƒt|dƒ}|i|dƒdS(Niÿÿÿÿ(RR}R•R’shttp://www.acme.com/sfoo=\b"a"r; Version=1s$Version=1; foo=\\b\"a\"r(RRR}RhRRR(R	RR}R8R¨((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_quote_cookie_values
cCsšddkl}l}ddkl}d}||dtƒƒ}t||dƒ||ƒ}|it|ƒdƒ|i	|ƒ|i
|idƒƒdS(	Niÿÿÿÿ(RR}(RTshttp://www.acme.comR’sfoo=bar; Version=1iRU(RRR}RVRTRhRRRR¤RWRRÑ(R	RR}RTRLR8R\((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_missing_final_slash—s
cCsþddkl}l}|dtƒ}||ƒ}d}t||dƒt||ƒ}|id|jdƒ||ƒ}d}t||dƒt||ƒ}|id	|jd
ƒ||ƒ}d}t||dƒt||ƒ}|id|jd
ƒdS(
Niÿÿÿÿ(RR}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"(RRR}RhRRR(R	RR}R€R8RLR¨((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_domain_mirror£s$cCs·ddkl}l}|dtƒ}||ƒ}d}t||dƒt||ƒ}|id|jdƒ||ƒ}d}t||dƒt||ƒ}|id	|jd
ƒdS(Niÿÿÿÿ(RR}R’shttp://foo.bar.com/sspam=eggs; Version=1tPaths&absent path returned with path presentsspam=eggs; Version=1; Path=/s	$Path="/"spath not returned(RRR}RhRRR(R	RR}R€R8RLR¨((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_path_mirror¼scCsKddkl}l}|dtƒ}||ƒ}d}t||dƒt||ƒ}|id|jdƒ||ƒ}d}t||dƒt||ƒ}|itid	|ƒd
ƒ||ƒ}d}t||dƒt||ƒ}|id|jd
ƒ||ƒ}d}t||dƒt||ƒ}|id|jdƒdS(Niÿÿÿÿ(RR}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(RRR}RhRRRRR(R	RR}R€R8RLR¨((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_port_mirrorÎs4cCsjddkl}l}||dtƒƒ}d}t||dƒt||ƒ}|id|jdƒdS(Niÿÿÿÿ(RR}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(RRR}RhRRR(R	RR}R8RLR¨((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_no_return_commentðs	cCsƒddkl}l}l}||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]‚}
|it	|
|ƒƒ|i
|
i||	ƒ|i
|
i||	ƒ|i
|
i
||	ƒ|i
|
i||	ƒ|	d}	qõWqâWdS(Niÿÿÿÿ(RRUR}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(RRRUR}RhRRRStrangeRt
isinstanceRR,R‰Rtpath(R	RRUR}tcstversionstnamestdomainstpathstiR8((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_Cookie_iteratorýs4				
cCsœddkl}|i|dgƒddddggƒ|i|dgƒdddggƒ|i|dgƒddggƒ|i|d
gƒgƒdS(Niÿÿÿÿ(R(sfoo=bar; path=/; domainR)R*RíRaRR,R-s)foo=bar; expires=Foo Bar 12 33:22:11 2000R+R (sfoosbar(spathRa(sdomainN(sversionR-(sfoosbar(sexpiresN(sversionR-(sfooN(sversionR-(RR(RR"(R	R(((s//usr/local/lib/python2.5/test/test_cookielib.pyR/scCs˜d„}xHdgdgdgdggD](}||ƒ}|it|ƒdƒq(Wdg}||ƒ}|idd	d
}|i|idjƒdS(NcSsXddkl}ddkl}|ƒ}|dƒ}t|dƒ}|i||ƒ|S(Niÿÿÿÿ(R(RTshttp://www.example.com/(RRRVRTRERZ(RKRRTR8R\R„((s//usr/local/lib/python2.5/test/test_cookielib.pytcookiejar_from_cookie_headers7s	sSet-Cookie: s
Set-Cookie2: s-Set-Cookie2: a=foo; path=/; Version=1; domainsSet-Cookie: b=foo; max-age=oopsis3Set-Cookie: c=foo; expires=Foo Bar 12 33:22:11 2000swww.example.comRaR8(RR¤ReRR+R"(R	RõRKR8R((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_bad_cookie_header5s	

	( R%R&R…RR—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ö(((s//usr/local/lib/python2.5/test/test_cookielib.pyR{s</		"	!	%	
	(	*			
				%			2	.	"	+						"	
	"	tLWPCookieTestscBsteZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
RS(c
	Cs<ddkl}l}ddkl}tiƒdd}g}||dtƒƒ}|ddhd	d
<ƒ}|id|ƒt	|dƒ}|i
||ƒ|dƒ}|i|ƒ|i|i
d
ƒdƒ|i|i
dƒdƒ|idƒt	|dƒ}|i
||ƒ|dƒ}|i|ƒ|i
d
ƒ}	|id|	jo
d|	jƒ|idƒt	|dƒ}|i
||ƒ|dƒ}|i|ƒ|i
d
ƒ}	|id|	jod|	jo
d|	jƒ|dƒ}|i|ƒ|i
d
ƒ}	|id|	jod|	jo
|	idƒƒdS(Niÿÿÿÿ(RR}(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;(RRR}RVRTRt	localtimeRhRYRERZRWRdRXRt
startswith(
R	RR}RTt
year_plus_oneRKR8R\RCR¨((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_netscape_example_1WsN&	









cCsddkl}ddkl}|ƒ}g}|dƒ}|idƒt|dƒ}|i||ƒ|dƒ}|i|ƒ|i|i	dƒdƒ|idƒt|dƒ}|i||ƒ|d	ƒ}|i|ƒ|i
tid
|i	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(
RRRVRTRYRERZRWRRXRRR(R	RRTR8RKR\RC((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_netscape_example_2µs(	


cCsddkl}l}||dtƒƒ}t|ddƒ}|i|ƒt|ddƒ}|itid|ƒƒt|d	d
ƒ}|itid|ƒƒ|itid|ƒƒ|itid
|ƒƒt|dƒ}|itid|ƒo
d|jƒdS(Niÿÿÿÿ(RR}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(RRR}RhRRRRR(R	RR}R8R((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_ietf_example_1ës,			
		

cCs™ddkl}l}||dtƒƒ}t|dddƒt|dƒ}|itid|ƒƒt|d	ƒ}|id
|jo
d|jƒdS(Niÿÿÿÿ(RR}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(RRR}RhRRRRR(R	RR}R8R((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_ietf_example_2^s
c	Cs}ddkl}l}|dtƒ}|d|ƒ}d}t|ddƒ}|i|ƒt|ddƒ}|it|ƒd	ƒt|d
dƒ}|it|ƒd	ƒt|d
dƒ}|it|ƒd
ƒt|ddƒ}|it|ƒd
ƒt|ddƒ}|it|ƒd
ƒt|ddƒ}|it|ƒdƒt|ddƒ}|it|ƒdƒt|ddƒ}|it|ƒdƒt|ddƒ}|it|ƒdƒt|ddƒ}|it|ƒdƒti	}zE|i
|dtƒt|ƒ}|d|ƒ}|i|dtƒWdyt
i|ƒWntj
onXX|i|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(RR}R_RhRRRRR¤RRcRgRŠRiRjRkRl(	R	R}R_R€R8tmax_ageRRmtold((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_rejection–sb																							cCsµddkl}l}||dtƒƒ}t|ddƒt|ddƒ}tidtiƒ}|id	|jo
|i	|ƒƒt|d
ƒ}|i|ƒt|dƒ}dS(Niÿÿÿÿ(RR}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/ü(
RRR}RhRRRtcompiletIRR(R	RR}R8Rt
version_re((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_url_encodingós		#cs\ddkl‰l‰tiƒdd}ti‰ˆˆdˆdtƒƒ}t|ddƒt|dd	ƒt|dd
ƒd|f}t	|dd
|ƒt	|dd|ƒt	|dd|ƒ‡‡‡fd†}||tƒ}|i
t|ƒdƒ|idt
|ƒjƒ||tƒ}|i
t|ƒdƒ|idt
|ƒjƒdS(Niÿÿÿÿ(RoR}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; %sc	skz<|id|ƒˆˆˆdtƒƒ}|id|ƒWdytiˆƒWntj
onXX|S(NRbR’(RgRhRiRjRkRl(RÂRbtnew_c(R}RoRm(s//usr/local/lib/python2.5/test/test_cookielib.pytsave_and_restore!sisname='foo1', value='bar'i(RRoR}RRøRRcRhRRRSRR¤RRŠR~(R	RúR8R+R
R	((R}RoRms//usr/local/lib/python2.5/test/test_cookielib.pyttest_mozilla	s0				
			cCsâddkl}ddkl}|ƒ}g}|dƒ}|idƒt|dƒ}|i||ƒ|idƒt|dƒ}|i||ƒ|dƒ}|i|ƒ|id|i	d	ƒjod
|i	d	ƒjƒ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(
RRRVRTRYRERZRWRRX(R	RRTR8RKR\RC((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_netscape_misc4s 	


cCs©ddkl}l}||dtƒƒ}t|ddƒt|ddƒ}|id|jƒt|ddƒt|dƒ}|id	|jot|ƒd
jƒdS(Niÿÿÿÿ(RR}R’shttp://example/s#foo1=bar; PORT; Discard; Version=1;s$foo2=bar; domain=".local"; Version=1sfoo1=barsfoo3=bar; Version=1sfoo2=bari(RRR}RhRRRR¤(R	RR}R8R((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_intranet_domains_2965Os			cCs²ddkl}l}||dtƒƒ}t|ddƒt|ddƒ}|it|ƒdƒ|id|jƒt|dƒ}|id|jƒ|it|ƒdƒdS(	Niÿÿÿÿ(RR}R’shttp://example/sfoo1=barsfoo2=bar; domain=.localisfoo2=bar(RRR}R~RSRR¤R(R	RR}R8R((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_intranet_domains_ns^s		cCsddkl}l}ddkl}||dtƒƒ}g}|dƒ}|idƒt|dƒ}|i||ƒ|dƒ}|i	|ƒ|i
|idƒdƒ|i
|id	ƒd
ƒ|dƒ}|i	|ƒ|i
|idƒdƒ|i
|id	ƒd
ƒdS(Niÿÿÿÿ(RR}(RTR’shttp://www.ants.com/s,Set-Cookie: JSESSIONID=ABCDERANDOM123; Path=RUsJSESSIONID=ABCDERANDOM123RÓs$Version="1"shttp://www.ants.com:8080(RRR}RVRTRhRYRERZRWRRX(R	RR}RTR8RKR\RC((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_empty_pathls$	


c
Csddkl}ddkl}tiƒdd}|dƒ}g}|idƒ|id|ƒ|id	|ƒ|id
ƒ|idƒt|dƒ}|ƒ}|i||ƒhdd<dd
<dd<dd<}x-|D]%}	d|	i	}
||
d||
<qèW|i
ƒx-|D]%}	d|	i	}
||
d||
<q"W|i|d
|djp|ddjp|ddjƒ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(RRRVRTRRøRYRERZRfR¥R(R	RRTRúR\RKRCR8tcounterRtkey((s//usr/local/lib/python2.5/test/test_cookielib.pyttest_session_cookiesŽs@
		

	
		


(R%R&RûRüRþRRRRRR
RRR(((s//usr/local/lib/python2.5/test/test_cookielib.pyR÷Ts	^	6	s	8	]		+				"cCs-ddkl}titttttƒdS(Niÿÿÿÿ(t	test_sets(	R#RRtrun_unittestRR'R{R^R÷(tverboseR((s//usr/local/lib/python2.5/test/test_cookielib.pyt	test_main½st__main__R(t__doc__RRjRtunittestRR#RRR'RERRRSROR^R{R÷R"RR%Rh(((s//usr/local/lib/python2.5/test/test_cookielib.pys<module>s($\f			+ÿÿÿBÿÿk



Man Man