summaryrefslogtreecommitdiff
path: root/tests/regressiontests/requests
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-17 13:49:04 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-03-17 13:49:04 +0000
commit30bdabb2b0d01e1f89af18028ab1605db734bd4b (patch)
tree0e716dca3daecb346395a6e9307593c52d4452ad /tests/regressiontests/requests
parent8defa8fd2739c908f667c94fb489d299e190fc5b (diff)
Fixed #6764 -- Added some error checking around cookie decoding. Thanks,
Michael Axiak. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/requests')
-rw-r--r--tests/regressiontests/requests/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/regressiontests/requests/tests.py b/tests/regressiontests/requests/tests.py
index f32ef14ae9..aaaef1d8b0 100644
--- a/tests/regressiontests/requests/tests.py
+++ b/tests/regressiontests/requests/tests.py
@@ -31,4 +31,8 @@ GET:{},
POST:{},
COOKIES:{},
META:{}>
+
+>>> from django.http import parse_cookie
+>>> parse_cookie('invalid:key=true')
+{}
"""