Commit 1c7436b9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

recent 'file' command says 'application/vnd.ms-office' instead of...

recent 'file' command says 'application/vnd.ms-office' instead of 'application/msword' for this result.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42445 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 587d5cb7
...@@ -73,7 +73,7 @@ class TestOOHandler(CloudoooTestCase): ...@@ -73,7 +73,7 @@ class TestOOHandler(CloudoooTestCase):
decodestring(data), decodestring(data),
'odt') 'odt')
doc_exported = handler.convert("doc") doc_exported = handler.convert("doc")
self._assert_document_output(doc_exported, "application/msword") self._assert_document_output(doc_exported, "application/vnd.ms-office")
def testConvertDocToOdt(self): def testConvertDocToOdt(self):
"""Test convert DOC to ODT""" """Test convert DOC to ODT"""
......
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