Home | History | Annotate | Download | only in test

Lines Matching defs:Cookie

1 # Simple test suite for Cookie.py
5 import Cookie
15 'output': 'Set-Cookie: chips=ahoy\nSet-Cookie: vienna=finger',
21 'output': 'Set-Cookie: keebler="E=mc2; L=\\"Loves\\"; fudge=\\012;"',
28 'output': 'Set-Cookie: keebler=E=mc2',
33 C = Cookie.SimpleCookie()
41 C = Cookie.SimpleCookie()
49 'Set-Cookie: Customer="WILE_E_COYOTE"; Path=/acme')
53 document.cookie = "Customer=\"WILE_E_COYOTE\"; Path=/acme; Version=1";
60 document.cookie = "Customer=\"WILE_E_COYOTE\"; Path=/acme";
66 C = Cookie.SimpleCookie()
70 C = Cookie.SimpleCookie()
78 C = Cookie.SimpleCookie()
81 'Set-Cookie: val="some\\054funky\\073stuff"')
84 # Try cookie with quoted meta-data
85 C = Cookie.SimpleCookie()
93 if Cookie.__doc__ is not None:
94 with check_warnings(('.+Cookie class is insecure; do not use it',
96 run_doctest(Cookie)