Commit adfd9071 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fix parameter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42217 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6b211a8
...@@ -53,7 +53,7 @@ class TestOOHandler(CloudoooTestCase): ...@@ -53,7 +53,7 @@ class TestOOHandler(CloudoooTestCase):
def _assert_document_output(self, document, expected_mimetype): def _assert_document_output(self, document, expected_mimetype):
"""Check if the document was created correctly""" """Check if the document was created correctly"""
mime = magic.Magic(mime_encoding=True) mime = magic.Magic(mime=True)
mimetype = mime.from_buffer(document) mimetype = mime.from_buffer(document)
self.assertEquals(mimetype, expected_mimetype) self.assertEquals(mimetype, expected_mimetype)
......
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