Commit eb446018 authored by Rémi Cardona's avatar Rémi Cardona
Browse files

[test] .123 files are identified as Lotus files in Gentoo's /etc/mime.types

parent f70fb2155282
......@@ -141,7 +141,7 @@ class GuessMimetymeAndEncodingTC(TestCase):
self.assertEqual(encoding, None)
def test_set_mime_and_encoding_unknwon_ext(self):
format, encoding = guess_mimetype_and_encoding(filename=u"foo.123", data="xxx")
format, encoding = guess_mimetype_and_encoding(filename=u"foo.789", data="xxx")
self.assertEqual(format, u'application/octet-stream')
self.assertEqual(encoding, None)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment