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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
1dc23f4d
Commit
1dc23f4d
authored
Jan 06, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trigger builder alarm.
parent
634cea46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
product/ERP5/tests/testConversionInSimulation.py
product/ERP5/tests/testConversionInSimulation.py
+25
-0
No files found.
product/ERP5/tests/testConversionInSimulation.py
View file @
1dc23f4d
...
@@ -231,6 +231,10 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -231,6 +231,10 @@ class TestConversionInSimulation(AccountingTestCase):
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
def
stepPackingListBuilderAlarm
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
self
.
portal
.
portal_alarms
.
packing_list_builder_alarm
.
activeSense
()
def
test_01_simulation_movement_destination_asset_price
(
self
,
quiet
=
0
,
def
test_01_simulation_movement_destination_asset_price
(
self
,
quiet
=
0
,
run
=
run_all_test
):
run
=
run_all_test
):
"""
"""
...
@@ -294,6 +298,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -294,6 +298,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_applied_rule
=
order
.
getCausalityRelatedValue
(
related_applied_rule
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Applied Rule'
)
portal_type
=
'Applied Rule'
)
...
@@ -388,6 +395,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -388,6 +395,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_applied_rule
=
order
.
getCausalityRelatedValue
(
related_applied_rule
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Applied Rule'
)
portal_type
=
'Applied Rule'
)
...
@@ -474,6 +484,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -474,6 +484,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_packing_list
=
order
.
getCausalityRelatedValue
(
related_packing_list
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Sale Packing List'
)
portal_type
=
'Sale Packing List'
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
...
@@ -566,6 +579,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -566,6 +579,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_packing_list
=
order
.
getCausalityRelatedValue
(
related_packing_list
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Sale Packing List'
)
portal_type
=
'Sale Packing List'
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
...
@@ -669,6 +685,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -669,6 +685,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_packing_list
=
order
.
getCausalityRelatedValue
(
related_packing_list
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Purchase Packing List'
)
portal_type
=
'Purchase Packing List'
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
...
@@ -775,6 +794,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -775,6 +794,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_packing_list
=
order
.
getCausalityRelatedValue
(
related_packing_list
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Sale Packing List'
)
portal_type
=
'Sale Packing List'
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
...
@@ -853,6 +875,9 @@ class TestConversionInSimulation(AccountingTestCase):
...
@@ -853,6 +875,9 @@ class TestConversionInSimulation(AccountingTestCase):
order
.
confirm
()
order
.
confirm
()
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
self
.
stepPackingListBuilderAlarm
()
transaction
.
commit
()
self
.
tic
()
related_packing_list
=
order
.
getCausalityRelatedValue
(
related_packing_list
=
order
.
getCausalityRelatedValue
(
portal_type
=
'Sale Packing List'
)
portal_type
=
'Sale Packing List'
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
self
.
assertNotEquals
(
related_packing_list
,
None
)
...
...
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