diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-09 13:19:34 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-09 14:24:06 -0500 |
| commit | a8b70d251d238b4e6cfc7bb4296da15494f8dff3 (patch) | |
| tree | 94ef5bc53e59131906aecfcf792eeac86242aa62 /tests/httpwrappers/tests.py | |
| parent | eb406aa686ff1809903366ef6896037af2f1f69b (diff) | |
[1.8.x] Sorted imports with isort; refs #23860.
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
Diffstat (limited to 'tests/httpwrappers/tests.py')
| -rw-r--r-- | tests/httpwrappers/tests.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/httpwrappers/tests.py b/tests/httpwrappers/tests.py index 8bc3302afc..da371dc74b 100644 --- a/tests/httpwrappers/tests.py +++ b/tests/httpwrappers/tests.py @@ -11,16 +11,17 @@ from django.core.exceptions import SuspiciousOperation from django.core.serializers.json import DjangoJSONEncoder from django.core.signals import request_finished from django.db import close_old_connections -from django.http import (QueryDict, HttpResponse, HttpResponseRedirect, - HttpResponsePermanentRedirect, HttpResponseNotAllowed, - HttpResponseNotModified, StreamingHttpResponse, - SimpleCookie, BadHeaderError, JsonResponse, - parse_cookie) +from django.http import ( + BadHeaderError, HttpResponse, HttpResponseNotAllowed, + HttpResponseNotModified, HttpResponsePermanentRedirect, + HttpResponseRedirect, JsonResponse, QueryDict, SimpleCookie, + StreamingHttpResponse, parse_cookie, +) from django.test import TestCase -from django.utils.encoding import smart_str, force_text -from django.utils.functional import lazy -from django.utils._os import upath from django.utils import six +from django.utils._os import upath +from django.utils.encoding import force_text, smart_str +from django.utils.functional import lazy lazystr = lazy(force_text, six.text_type) |
