diff options
| author | Collin Anderson <cmawebsite@gmail.com> | 2016-03-11 21:36:08 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-03-15 12:24:06 -0400 |
| commit | 93a135d111c2569d88d65a3f4ad9e6d9ad291452 (patch) | |
| tree | b85448d68a4888d8372c15328fa5f4e30c5ffda2 /tests/requests | |
| parent | e7e5d9b338cabaafc61b7a0c55ff395b533d8c9e (diff) | |
Fixed #26158 -- Rewrote http.parse_cookie() to better match browsers.
Diffstat (limited to 'tests/requests')
| -rw-r--r-- | tests/requests/tests.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/requests/tests.py b/tests/requests/tests.py index 41fd0da58d..c09cf79bd5 100644 --- a/tests/requests/tests.py +++ b/tests/requests/tests.py @@ -10,7 +10,6 @@ from django.core.exceptions import SuspiciousOperation from django.core.handlers.wsgi import LimitedStream, WSGIRequest from django.http import ( HttpRequest, HttpResponse, RawPostDataException, UnreadablePostError, - parse_cookie, ) from django.test import RequestFactory, SimpleTestCase, override_settings from django.test.client import FakePayload @@ -183,9 +182,6 @@ class RequestsTests(SimpleTestCase): request = WSGIRequest({'PATH_INFO': wsgi_str("/سلام/"), 'REQUEST_METHOD': 'get', 'wsgi.input': BytesIO(b'')}) self.assertEqual(request.path, "/سلام/") - def test_parse_cookie(self): - self.assertEqual(parse_cookie('invalid@key=true'), {}) - def test_httprequest_location(self): request = HttpRequest() self.assertEqual(request.build_absolute_uri(location="https://www.example.com/asdf"), |
