mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[1.2.X] Removed all usages of deprecated TestCase methods (self.fail*). This removed most of the Warnings emitted (with -Wall) during the test suite. Backport of [14803].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#! -*- coding: utf-8 -*-
|
||||
import os
|
||||
import errno
|
||||
import os
|
||||
import shutil
|
||||
import unittest
|
||||
from StringIO import StringIO
|
||||
@@ -15,6 +15,7 @@ from django.http.multipartparser import MultiPartParser
|
||||
from models import FileModel, temp_storage, UPLOAD_TO
|
||||
import uploadhandler
|
||||
|
||||
|
||||
UNICODE_FILENAME = u'test-0123456789_中文_Orléans.jpg'
|
||||
|
||||
class FileUploadTests(TestCase):
|
||||
|
||||
Reference in New Issue
Block a user