[Erp5-report] r14236 - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 26 00:50:49 CEST 2007


Author: ivan
Date: Thu Apr 26 00:50:44 2007
New Revision: 14236

URL: http://svn.erp5.org?rev=14236&view=rev
Log:
.sxc is a Spreadsheet portal_type

Modified:
    erp5/trunk/products/ERP5OOo/tests/testIngestion.py

Modified: erp5/trunk/products/ERP5OOo/tests/testIngestion.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testIngestion.py?rev=14236&r1=14235&r2=14236&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py Thu Apr 26 00:50:44 2007
@@ -52,7 +52,6 @@
 
 # test files' home
 TEST_FILES_HOME = os.path.join(os.getenv('INSTANCE_HOME'), 'Products', 'ERP5OOo', 'tests', 'test_document')
-
 FILE_NAME_REGULAR_EXPRESSION = "(?P<reference>[A-Z]{3,6})-(?P<language>[a-z]{2})-(?P<version>[0-9]{3})"
 REFERENCE_REGULAR_EXPRESSION = "(?P<reference>[A-Z]{3,6})(-(?P<language>[a-z]{2}))?(-(?P<version>[0-9]{3}))?"
 
@@ -354,13 +353,14 @@
       Tries to a create new content through portal_contributions
       for every possible file type. If with_portal_type is set
       to true, portal_type is specified when calling newContent
-      on portal_contributions. 
+      on portal_contributions.
+      http://framework.openoffice.org/documentation/mimetypes/mimetypes.html
     """
     created_documents = []
     extension_to_type = (('ppt', 'Presentation')
                         ,('doc', 'Text')
                         ,('sdc', 'Spreadsheet')
-                        ,('sxc', 'File')
+                        ,('sxc', 'Spreadsheet')
                         ,('pdf', 'PDF')
                         ,('jpg', 'Image')
                         ,('py', 'File')




More information about the Erp5-report mailing list