mirror of
https://github.com/django/django.git
synced 2025-08-31 15:57:45 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
parent
e2b77acedd
commit
be67400b47
93 changed files with 362 additions and 340 deletions
|
@ -13,7 +13,7 @@ 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, override_settings
|
||||
from django.test import SimpleTestCase, TestCase, client, override_settings
|
||||
from django.utils.encoding import force_bytes
|
||||
from django.utils.http import urlquote
|
||||
from django.utils.six import PY2, BytesIO, StringIO
|
||||
|
@ -509,7 +509,7 @@ class FileUploadTests(TestCase):
|
|||
|
||||
|
||||
@override_settings(MEDIA_ROOT=MEDIA_ROOT)
|
||||
class DirectoryCreationTests(TestCase):
|
||||
class DirectoryCreationTests(SimpleTestCase):
|
||||
"""
|
||||
Tests for error handling during directory creation
|
||||
via _save_FIELD_file (ticket #6450)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue