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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user