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
Titouan Soulard
erp5
Commits
9073364e
Commit
9073364e
authored
Sep 14, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
now we need to commit transaction so that clearCache in Distributed Ram Cache takes in effect.
parent
0b9e1d64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
product/ERP5Form/tests/testPreferences.py
product/ERP5Form/tests/testPreferences.py
+3
-0
No files found.
product/ERP5Form/tests/testPreferences.py
View file @
9073364e
...
...
@@ -191,6 +191,7 @@ class TestPreferences(PropertySheetTestCase):
site
.
edit
(
preferred_accounting_transaction_simulation_state_list
=
[
'stopped'
,
'delivered'
])
self
.
commit
()
self
.
assertEquals
(
list
(
pref_tool
.
getPreference
(
'preferred_accounting_transaction_simulation_state_list'
)),
list
(
site
.
getPreferredAccountingTransactionSimulationStateList
()))
...
...
@@ -205,12 +206,14 @@ class TestPreferences(PropertySheetTestCase):
group
.
edit
(
preferred_accounting_transaction_simulation_state_list
=
[
'draft'
])
self
.
commit
()
self
.
assertEquals
(
list
(
pref_tool
.
getPreference
(
'preferred_accounting_transaction_simulation_state_list'
)),
list
(
group
.
getPreferredAccountingTransactionSimulationStateList
()))
person1
.
edit
(
preferred_accounting_transaction_simulation_state_list
=
[
'cancelled'
])
self
.
commit
()
self
.
assertEquals
(
list
(
pref_tool
.
getPreference
(
'preferred_accounting_transaction_simulation_state_list'
)),
list
(
person1
.
getPreferredAccountingTransactionSimulationStateList
()))
...
...
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