From 7bba30ddb679ca2c3eeb25b8214c450d69d0658e Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Wed, 25 Apr 2007 22:50:44 +0000
Subject: [PATCH] .sxc is a Spreadsheet portal_type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14236 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5OOo/tests/testIngestion.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5OOo/tests/testIngestion.py b/product/ERP5OOo/tests/testIngestion.py
index 3c5ab2d63c..3e8cc01adf 100644
--- a/product/ERP5OOo/tests/testIngestion.py
+++ b/product/ERP5OOo/tests/testIngestion.py
@@ -52,7 +52,6 @@ conversion_server_host = ('127.0.0.1', 8008)
 
 # 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 @@ class TestIngestion(ERP5TypeTestCase):
       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')
-- 
2.30.9