tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
O\¬Qc@spddlmZmZmZddlZddlZdejfd„ƒYZd„Ze    dkrleƒndS(iÿÿÿÿ(t run_unittestt run_doctesttcheck_warningsNt CookieTestscBs,eZd„Zd„Zd„Zd„ZRS(cCs)idd6idd6dd6d6dd    6d
d 6id d6id d6d6dd    6dd 6idd6idd6d6dd    6dd 6g}x£|D]›}tjƒ}|j|dƒ|jt|ƒ|d    ƒ|j|jddƒ|d ƒx;t|djƒƒD]#\}}|j||j|ƒqúWq†WdS(Nschips=ahoy; vienna=fingertdatatahoytchipstfingertviennatdicts,<SimpleCookie: chips='ahoy' vienna='finger'>treprs0Set-Cookie: chips=ahoy
Set-Cookie: vienna=fingertoutputs)keebler="E=mc2; L=\"Loves\"; fudge=\012;"sE=mc2; L="Loves"; fudge=
;tkeeblers5<SimpleCookie: keebler='E=mc2; L="Loves"; fudge=\n;'>s5Set-Cookie: keebler="E=mc2; L=\"Loves\"; fudge=\012;"s keebler=E=mc2sE=mc2s<SimpleCookie: keebler='E=mc2'>sSet-Cookie: keebler=E=mc2tseps
(    tCookiet SimpleCookietloadt assertEqualR
R tsortedt    iteritemstvalue(tselftcasestcasetCtktv((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyt
test_basic
s&
 
 
    #cCstjƒ}|jdƒ|j|djdƒ|j|dddƒ|j|dddƒ|j|jdgƒdƒ|j|jƒd    ƒ|j|jdgƒd
ƒtjƒ}|jd ƒ|j|dd d ƒtjƒ}|jdƒ|j|dd dƒdS(Ns/Customer="WILE_E_COYOTE"; Version=1; Path=/acmetCustomert WILE_E_COYOTEtversiont1tpaths/acmes0Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acmesÆ
        <script type="text/javascript">
        <!-- begin hiding
        document.cookie = "Customer=\"WILE_E_COYOTE\"; Path=/acme; Version=1";
        // end hiding -->
        </script>
        s»
        <script type="text/javascript">
        <!-- begin hiding
        document.cookie = "Customer=\"WILE_E_COYOTE\"; Path=/acme";
        // end hiding -->
        </script>
        s3Customer="W"; expires=Wed, 01 Jan 2010 00:00:00 GMTtexpiressWed, 01 Jan 2010 00:00:00 GMTs1Customer="W"; expires=Wed, 01 Jan 98 00:00:00 GMTsWed, 01 Jan 98 00:00:00 GMT(RRRRRR t    js_output(RR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyt    test_load(s&      cCs6tjƒ}d|d<|j|jdgƒdƒdS(Nssome,funky;stufftvals(Set-Cookie: val="some\054funky\073stuff"(RRRR (RR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyttest_extended_encodeKs 
cCsdtjƒ}|jdƒ|j|djdƒ|j|dddƒ|j|dddƒdS(Ns3Customer="WILE_E_COYOTE"; Version="1"; Path="/acme"RRRRR s/acme(RRRRR(RR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyttest_quoted_metaSs
  (t__name__t
__module__RR#R%R&(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyRs        #    cCsCttƒtjdk    r?tdtfƒttƒWdQXndS(Ns).+Cookie class is insecure; do not use it(RRRt__doc__tNoneRtDeprecationWarningR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyt    test_main[s
 
 t__main__(
ttest.test_supportRRRtunittestRtTestCaseRR,R'(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_cookie.pyt<module>s   S