mirror of
https://github.com/django/django.git
synced 2025-07-28 23:54:02 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -847,7 +847,8 @@ class UploadedFileEncodingTest(TestCase):
|
|||
self.assertIn(encode_file('IGNORE', 'IGNORE', DummyFile("file.zip"))[2], (
|
||||
'Content-Type: application/x-compress',
|
||||
'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',
|
||||
encode_file('IGNORE', 'IGNORE', DummyFile("file.unknown"))[2])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue