Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
d5bc2ebd
Commit
d5bc2ebd
authored
Feb 05, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
very old Star Office files are no longer supported by recent LibreOffice / Apache OpenOffice.
parent
a72cbbb0
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
5 deletions
+3
-5
product/ERP5OOo/tests/testIngestion.py
product/ERP5OOo/tests/testIngestion.py
+3
-5
product/ERP5OOo/tests/test_document/TEST-en-002.sda
product/ERP5OOo/tests/test_document/TEST-en-002.sda
+0
-0
product/ERP5OOo/tests/test_document/TEST-en-002.sdc
product/ERP5OOo/tests/test_document/TEST-en-002.sdc
+0
-0
product/ERP5OOo/tests/test_document/TEST-en-002.sdd
product/ERP5OOo/tests/test_document/TEST-en-002.sdd
+0
-0
product/ERP5OOo/tests/test_document/TEST-en-002.sdw
product/ERP5OOo/tests/test_document/TEST-en-002.sdw
+0
-0
No files found.
product/ERP5OOo/tests/testIngestion.py
View file @
d5bc2ebd
...
@@ -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'
,
...
...
product/ERP5OOo/tests/test_document/TEST-en-002.sda
deleted
100644 → 0
View file @
a72cbbb0
File deleted
product/ERP5OOo/tests/test_document/TEST-en-002.sdc
deleted
100644 → 0
View file @
a72cbbb0
File deleted
product/ERP5OOo/tests/test_document/TEST-en-002.sdd
deleted
100644 → 0
View file @
a72cbbb0
File deleted
product/ERP5OOo/tests/test_document/TEST-en-002.sdw
deleted
100644 → 0
View file @
a72cbbb0
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment