Commit d5bc2ebd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

very old Star Office files are no longer supported by recent LibreOffice / Apache OpenOffice.

parent a72cbbb0
...@@ -304,7 +304,6 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -304,7 +304,6 @@ class TestIngestion(ERP5TypeTestCase):
created_documents = [] created_documents = []
extension_to_type = (('ppt', 'Presentation') extension_to_type = (('ppt', 'Presentation')
,('doc', 'Text') ,('doc', 'Text')
,('sdc', 'Spreadsheet')
,('sxc', 'Spreadsheet') ,('sxc', 'Spreadsheet')
,('pdf', 'PDF') ,('pdf', 'PDF')
,('jpg', 'Image') ,('jpg', 'Image')
...@@ -679,7 +678,7 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -679,7 +678,7 @@ class TestIngestion(ERP5TypeTestCase):
ingest all supported text formats ingest all supported text formats
make sure they are converted make sure they are converted
""" """
format_list = ['rtf', 'doc', 'txt', 'sxw', 'sdw'] format_list = ['rtf', 'doc', 'txt', 'sxw']
document = self.portal.restrictedTraverse(sequence.get('document_path')) document = self.portal.restrictedTraverse(sequence.get('document_path'))
self.ingestFormatList(document, format_list) self.ingestFormatList(document, format_list)
...@@ -689,7 +688,7 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -689,7 +688,7 @@ class TestIngestion(ERP5TypeTestCase):
ingest all supported spreadsheet formats ingest all supported spreadsheet formats
make sure they are converted make sure they are converted
""" """
format_list = ['xls', 'sxc', 'sdc'] format_list = ['xls', 'sxc']
document = self.portal.restrictedTraverse(sequence.get('document_path')) document = self.portal.restrictedTraverse(sequence.get('document_path'))
self.ingestFormatList(document, format_list) self.ingestFormatList(document, format_list)
...@@ -699,7 +698,7 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -699,7 +698,7 @@ class TestIngestion(ERP5TypeTestCase):
ingest all supported presentation formats ingest all supported presentation formats
make sure they are converted make sure they are converted
""" """
format_list = ['ppt', 'sxi', 'sdd'] format_list = ['ppt', 'sxi']
document = self.portal.restrictedTraverse(sequence.get('document_path')) document = self.portal.restrictedTraverse(sequence.get('document_path'))
self.ingestFormatList(document, format_list) self.ingestFormatList(document, format_list)
...@@ -1068,7 +1067,6 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -1068,7 +1067,6 @@ class TestIngestion(ERP5TypeTestCase):
'pdf' : 'PDF', 'pdf' : 'PDF',
'xls' : 'Spreadsheet', 'xls' : 'Spreadsheet',
'ods' : 'Spreadsheet', 'ods' : 'Spreadsheet',
'sdc' : 'Spreadsheet',
'ppt' : 'Presentation', 'ppt' : 'Presentation',
'odp' : 'Presentation', 'odp' : 'Presentation',
'sxi' : 'Presentation', 'sxi' : 'Presentation',
......
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