#14468: test_client_regress.models.UploadedFileEncodingTest fails if the
mimetypes.guess_type() guesses an alternate zip mimetype
-------------------------------+--------------------------------------------
Reporter: emulbreh | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: 1.2
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-------------------------------+--------------------------------------------
{{{
FAIL: test_guesses_content_type_on_file_encoding
(regressiontests.test_client_regress.models.UploadedFileEncodingTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/emulbreh/Projekte/django-
dev/trunk/tests/regressiontests/test_client_regress/models.py", line 847,
in test_guesses_content_type_on_file_encoding
encode_file('IGNORE', 'IGNORE', DummyFile("file.zip"))[2])
AssertionError: 'Content-Type: application/zip' != 'Content-Type:
application/x-zip-compressed'
}}}
--
Ticket URL: <http://code.djangoproject.com/ticket/14468>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.