diff --git a/product/ERP5OOo/tests/testDms.py b/product/ERP5OOo/tests/testDms.py index 7994cd4c50b25f9fe5f572bfbaf10cf7bb9f4a0a..0a31706fa3c2d549742cbe43be07efb25d31ab78 100644 --- a/product/ERP5OOo/tests/testDms.py +++ b/product/ERP5OOo/tests/testDms.py @@ -618,7 +618,7 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional): def test_Base_getConversionFormatItemList(self): # tests Base_getConversionFormatItemList script (requires oood) - self.assertTrue(('Text CSV', 'csv') in + self.assertTrue(('Microsoft Excel 97/2000/XP', 'xls') in self.portal.Base_getConversionFormatItemList(base_content_type= 'application/vnd.oasis.opendocument.spreadsheet')) self.assertTrue(('DocBook', 'docbook.xml') in @@ -738,7 +738,7 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional): self.assertEquals('I use reference to look up TEST\n', document._convertToText()) self.assert_('I use reference to look up TEST' in - document._convertToHTML()) + document._convertToHTML().replace(' ', ' ')) self.assert_('I use reference to look up TEST' in document.SearchableText())