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
Leo Le Bouter
erp5
Commits
cb2b84b5
Commit
cb2b84b5
authored
May 21, 2018
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testIngestion: conversion server url is in list format
parent
58f67277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5OOo/tests/testIngestion.py
product/ERP5OOo/tests/testIngestion.py
+3
-3
No files found.
product/ERP5OOo/tests/testIngestion.py
View file @
cb2b84b5
...
...
@@ -35,7 +35,7 @@ from lxml import etree
from
DateTime
import
DateTime
from
Products.ERP5Type.Utils
import
convertToUpperCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
(
ERP5TypeTestCase
,
_getConversionServerUrl
)
ERP5TypeTestCase
,
_getConversionServerUrl
List
)
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.utils
import
FileUpload
,
createZODBPythonScript
from
Products.ERP5OOo.OOoUtils
import
OOoBuilder
...
...
@@ -1040,8 +1040,8 @@ class TestIngestion(ERP5TypeTestCase):
Make sure that preferences are set up properly and accessible
"""
preference_tool
=
self
.
portal
.
portal_preferences
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentConversionServerUrl
(),
_getConversionServerUrl
())
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentConversionServerUrl
List
(),
_getConversionServerUrl
List
())
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentFilenameRegularExpression
(),
FILENAME_REGULAR_EXPRESSION
)
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentReferenceRegularExpression
(),
REFERENCE_REGULAR_EXPRESSION
)
...
...
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