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
Georgios Dagkakis
erp5
Commits
3f32b4af
Commit
3f32b4af
authored
Jan 09, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip builder alarm in legacy simulation tests.
parent
5874e35b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
product/ERP5/tests/testOrder.py
product/ERP5/tests/testOrder.py
+1
-1
product/ERP5/tests/testTradeModelLine.py
product/ERP5/tests/testTradeModelLine.py
+10
-2
No files found.
product/ERP5/tests/testOrder.py
View file @
3f32b4af
...
...
@@ -1222,7 +1222,7 @@ class TestOrderMixin(SubcontentReindexingWrapper):
# business templates.
alarm
=
getattr
(
self
.
portal
.
portal_alarms
,
'packing_list_builder_alarm'
,
None
)
if
alarm
is
not
None
:
self
.
portal
.
portal_alarms
.
packing_list_builder_
alarm
.
activeSense
()
alarm
.
activeSense
()
class
TestOrder
(
TestOrderMixin
,
ERP5TypeTestCase
):
"""
...
...
product/ERP5/tests/testTradeModelLine.py
View file @
3f32b4af
...
...
@@ -480,11 +480,19 @@ class TestTradeModelLine(TestTradeModelLineMixin):
def
stepPackingListBuilderAlarm
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
self
.
portal
.
portal_alarms
.
packing_list_builder_alarm
.
activeSense
()
# global builder alarm does not exist in legacy simulation
# business templates.
alarm
=
getattr
(
self
.
portal
.
portal_alarms
,
'packing_list_builder_alarm'
,
None
)
if
alarm
is
not
None
:
alarm
.
activeSense
()
def
stepInvoiceBuilderAlarm
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
self
.
portal
.
portal_alarms
.
invoice_builder_alarm
.
activeSense
()
# global builder alarm does not exist in legacy simulation
# business templates.
alarm
=
getattr
(
self
.
portal
.
portal_alarms
,
'invoice_builder_alarm'
,
None
)
if
alarm
is
not
None
:
alarm
.
activeSense
()
###
## Test cases
...
...
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