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

[1.5.x] Prevented file_upload tests to leave files behind

Refs #19206.
Backport of 73245b3 from master.
This commit is contained in:
Claude Paroz
2012-10-30 22:20:42 +01:00
parent a24ffa52d0
commit 2f9f211da8
3 changed files with 34 additions and 28 deletions

View File

@@ -9,8 +9,8 @@ from django.http import HttpResponse, HttpResponseServerError
from django.utils import six
from django.utils.encoding import force_bytes
from .models import FileModel, UPLOAD_TO
from .tests import UNICODE_FILENAME
from .models import FileModel
from .tests import UNICODE_FILENAME, UPLOAD_TO
from .uploadhandler import QuotaUploadHandler, ErroringUploadHandler