Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs-appstore
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
Romain Courteaud
officejs-appstore
Commits
b29b5dcb
Commit
b29b5dcb
authored
Jan 25, 2019
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[officejs_test] Module ID generator is not used for now
parent
15e5abfa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSAppstoreConfigurator.py
..._components/test.erp5.testOfficeJSAppstoreConfigurator.py
+9
-4
No files found.
bt5/officejs_test/TestTemplateItem/portal_components/test.erp5.testOfficeJSAppstoreConfigurator.py
View file @
b29b5dcb
...
@@ -10,7 +10,7 @@ from erp5.component.test.testOfficeJSAppstoreMixin import \
...
@@ -10,7 +10,7 @@ from erp5.component.test.testOfficeJSAppstoreMixin import \
class
TestSlapOSConfigurator
(
testOfficeJSAppstoreMixin
):
class
TestSlapOSConfigurator
(
testOfficeJSAppstoreMixin
):
def
testConfiguredModuleGeneratorIDViaConstraint
(
self
):
def
no
testConfiguredModuleGeneratorIDViaConstraint
(
self
):
""" Make sure Generator ID is well configured, in this
""" Make sure Generator ID is well configured, in this
case we trust on promise outcome."""
case we trust on promise outcome."""
self
.
assertEqual
(
self
.
portal
.
portal_ids
.
checkConsistency
(),
[])
self
.
assertEqual
(
self
.
portal
.
portal_ids
.
checkConsistency
(),
[])
...
@@ -73,10 +73,10 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
...
@@ -73,10 +73,10 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
well configured """
well configured """
# set preference
# set preference
preference_tool
=
self
.
portal
.
portal_preferences
preference_tool
=
self
.
portal
.
portal_preferences
conversion_url
=
"https://cloudooo.erp5.net"
conversion_url
=
"https://cloudooo.erp5.net
/
"
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentConversionServerUrl
(),
conversion_url
)
self
.
assertEqual
(
preference_tool
.
getPreferredDocumentConversionServerUrl
(),
conversion_url
)
def
testModuleHasIdGeneratorByDay
(
self
):
def
no
testModuleHasIdGeneratorByDay
(
self
):
""" Ensure the Constraint sets appropriate id generator on all modules.
""" Ensure the Constraint sets appropriate id generator on all modules.
"""
"""
module_list
=
[
module
.
getId
()
for
module
in
self
.
portal
.
objectValues
()
module_list
=
[
module
.
getId
()
for
module
in
self
.
portal
.
objectValues
()
...
@@ -222,7 +222,12 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
...
@@ -222,7 +222,12 @@ class TestSlapOSConfigurator(testOfficeJSAppstoreMixin):
'officejs_credential'
,
'officejs_credential'
,
'officejs_meta'
,
'officejs_meta'
,
'officejs_security'
,
'officejs_security'
,
'officejs_upgrader'
'officejs_upgrader'
,
# test bt5
'erp5_forge'
,
'erp5_ui_test'
,
'erp5_ui_test_core'
,
'officejs_test'
]
]
self
.
assertSameSet
(
expected_business_template_list
,
self
.
assertSameSet
(
expected_business_template_list
,
self
.
portal
.
portal_templates
.
getInstalledBusinessTemplateTitleList
())
self
.
portal
.
portal_templates
.
getInstalledBusinessTemplateTitleList
())
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