Commit e77ac1a7 authored by Rafael Monnerat's avatar Rafael Monnerat

More mimetype update

Word mimetype outcome changed, after update of libreoffice.
parent 5b2b4c13
......@@ -73,7 +73,7 @@ class TestHandler(HandlerTestCase):
decodestring(data),
'odt')
doc_exported = handler.convert("doc")
self._assert_document_output(doc_exported, "application/vnd.ms-office")
self._assert_document_output(doc_exported, "application/msword")
def testConvertDocToOdt(self):
"""Test convert DOC to ODT"""
......
......@@ -82,7 +82,7 @@ class TestUnoConverter(HandlerTestCase):
output_url = stdout.replace('\n', '')
self.assertTrue(exists(output_url), stdout)
mime = magic.Magic(mime=True)
self.assertEquals(mime.from_file(output_url), 'application/vnd.ms-office')
self.assertEquals(mime.from_file(output_url), 'application/msword')
self.document.trash()
self.assertEquals(exists(output_url), False)
......
Markdown is supported
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