1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Sorted imports with isort; refs #23860.

This commit is contained in:
Tim Graham
2015-01-28 07:35:27 -05:00
parent 388d986b8a
commit 0ed7d15563
793 changed files with 2551 additions and 2333 deletions

View File

@@ -13,16 +13,14 @@ import unittest
from django.core.files import temp as tempfile
from django.core.files.uploadedfile import SimpleUploadedFile
from django.http.multipartparser import MultiPartParser, parse_header
from django.test import TestCase, client
from django.test import override_settings
from django.test import TestCase, client, override_settings
from django.utils.encoding import force_bytes
from django.utils.http import urlquote
from django.utils.six import BytesIO, PY2, StringIO
from django.utils.six import PY2, BytesIO, StringIO
from . import uploadhandler
from .models import FileModel
UNICODE_FILENAME = 'test-0123456789_中文_Orléans.jpg'
MEDIA_ROOT = sys_tempfile.mkdtemp(dir=os.environ['DJANGO_TEST_TEMP_DIR'])
UPLOAD_TO = os.path.join(MEDIA_ROOT, 'test_upload')