Add alternative ZIP mime type in tests.

This commit is contained in:
Bastian Kleineidam 2010-11-20 14:17:39 +01:00
parent f0895c7ffc
commit a4209f95ba
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class TestMime (unittest.TestCase):
self.mime_test_mimedb("t.txt.gz", "application/x-gzip", None) self.mime_test_mimedb("t.txt.gz", "application/x-gzip", None)
self.mime_test_mimedb("t .xz", "application/x-xz", None) self.mime_test_mimedb("t .xz", "application/x-xz", None)
self.mime_test_mimedb("t.Z", "application/x-compress", None) self.mime_test_mimedb("t.Z", "application/x-compress", None)
self.mime_test_mimedb("t.zip", "application/zip", None) self.mime_test_mimedb("t.zip", ("application/zip", "application/x-zip-compressed"), None)
self.mime_test_mimedb("t.ace", "application/x-ace", None) self.mime_test_mimedb("t.ace", "application/x-ace", None)
self.mime_test_mimedb("t.a", "application/x-archive", None) self.mime_test_mimedb("t.a", "application/x-archive", None)
self.mime_test_mimedb("t.lha", "application/x-lha", None) self.mime_test_mimedb("t.lha", "application/x-lha", None)