diff --git a/product/ERP5OOo/tests/testDms.py b/product/ERP5OOo/tests/testDms.py index 64a2007d98674c8114b6ed6ba77360de5d03f271..1c1a4d068ec77a8eb2da0a98ef7a5d0306b98416 100644 --- a/product/ERP5OOo/tests/testDms.py +++ b/product/ERP5OOo/tests/testDms.py @@ -472,6 +472,14 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional): self.assertNotEquals(obj.getCreationDate(), portal.CreationDate()) + def test_Base_getConversionFormatItemList(self): + # tests Base_getConversionFormatItemList script (requires oood) + self.assertTrue(('Text CSV', 'csv') in + self.portal.Base_getConversionFormatItemList(base_content_type= + 'application/vnd.oasis.opendocument.spreadsheet')) + self.assertTrue(('DocBook', 'docbook.xml') in + self.portal.Base_getConversionFormatItemList(base_content_type= + 'application/vnd.oasis.opendocument.text')) def test_suite(): suite = unittest.TestSuite()