diff options
Diffstat (limited to 'tests/requests')
| -rw-r--r-- | tests/requests/tests.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/requests/tests.py b/tests/requests/tests.py index e9fdefb7ea..b0598b1cc0 100644 --- a/tests/requests/tests.py +++ b/tests/requests/tests.py @@ -1,16 +1,18 @@ # -*- encoding: utf-8 -*- from __future__ import unicode_literals +import time from datetime import datetime, timedelta from io import BytesIO from itertools import chain -import time from django.core.exceptions import SuspiciousOperation -from django.core.handlers.wsgi import WSGIRequest, LimitedStream -from django.http import (HttpRequest, HttpResponse, parse_cookie, - build_request_repr, UnreadablePostError, RawPostDataException) -from django.test import SimpleTestCase, RequestFactory, override_settings +from django.core.handlers.wsgi import LimitedStream, WSGIRequest +from django.http import ( + HttpRequest, HttpResponse, RawPostDataException, UnreadablePostError, + build_request_repr, parse_cookie, +) +from django.test import RequestFactory, SimpleTestCase, override_settings from django.test.client import FakePayload from django.test.utils import str_prefix from django.utils import six |
