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
Alain Takoudjou
erp5
Commits
f7f6cf92
Commit
f7f6cf92
authored
Nov 13, 2018
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add newly required bt5 and fallback to previous behaviour where reports are not stored
parent
eb934548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
product/ERP5OOo/tests/testDeferredStyle.py
product/ERP5OOo/tests/testDeferredStyle.py
+10
-0
No files found.
product/ERP5OOo/tests/testDeferredStyle.py
View file @
f7f6cf92
...
@@ -54,6 +54,10 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -54,6 +54,10 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
'erp5_base'
,
'erp5_base'
,
'erp5_ods_style'
,
'erp5_ods_style'
,
'erp5_odt_style'
,
'erp5_odt_style'
,
'erp5_ingestion_mysql_innodb_catalog'
,
'erp5_ingestion'
,
'erp5_web'
,
'erp5_dms'
,
'erp5_deferred_style'
,
'erp5_deferred_style'
,
'erp5_l10n_fr'
,)
'erp5_l10n_fr'
,)
...
@@ -76,6 +80,12 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
...
@@ -76,6 +80,12 @@ class TestDeferredStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
password
=
self
.
password
,
password
=
self
.
password
,
)
)
login
.
validate
()
login
.
validate
()
system_preference
=
self
.
portal
.
portal_preference
.
_getOb
(
'syspref'
,
None
)
if
system_preference
is
None
:
system_preference
=
self
.
portal
.
portal_preferences
.
newContent
(
portal_type
=
"System Preference"
)
system_preference
.
enable
()
# Fallback to former behaviour
system_preference
.
edit
(
preferred_deferred_report_stored_as_document
=
False
)
self
.
tic
()
self
.
tic
()
def
loginAsUser
(
self
,
username
):
def
loginAsUser
(
self
,
username
):
...
...
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