Fixed a regression in the test suite from [15236].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a38da1ae0d
commit
d140318099
|
@ -847,7 +847,8 @@ class UploadedFileEncodingTest(TestCase):
|
||||||
self.assertIn(encode_file('IGNORE', 'IGNORE', DummyFile("file.zip"))[2], (
|
self.assertIn(encode_file('IGNORE', 'IGNORE', DummyFile("file.zip"))[2], (
|
||||||
'Content-Type: application/x-compress',
|
'Content-Type: application/x-compress',
|
||||||
'Content-Type: application/x-zip',
|
'Content-Type: application/x-zip',
|
||||||
'Content-Type: application/x-zip-compressed'))
|
'Content-Type: application/x-zip-compressed',
|
||||||
|
'Content-Type: application/zip',))
|
||||||
self.assertEqual('Content-Type: application/octet-stream',
|
self.assertEqual('Content-Type: application/octet-stream',
|
||||||
encode_file('IGNORE', 'IGNORE', DummyFile("file.unknown"))[2])
|
encode_file('IGNORE', 'IGNORE', DummyFile("file.unknown"))[2])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue