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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tomáš Peterka
erp5
Commits
faa66e6a
Commit
faa66e6a
authored
Jan 06, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip builder alarm in legacy simulation tests.
parent
81cb82e2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
product/ERP5/tests/testOrder.py
product/ERP5/tests/testOrder.py
+5
-1
product/ERP5Legacy/tests/testLegacySimulationInvoice.py
product/ERP5Legacy/tests/testLegacySimulationInvoice.py
+6
-0
No files found.
product/ERP5/tests/testOrder.py
View file @
faa66e6a
...
@@ -1218,6 +1218,10 @@ class TestOrderMixin(SubcontentReindexingWrapper):
...
@@ -1218,6 +1218,10 @@ class TestOrderMixin(SubcontentReindexingWrapper):
def
stepPackingListBuilderAlarm
(
self
,
sequence
=
None
,
def
stepPackingListBuilderAlarm
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
sequence_list
=
None
,
**
kw
):
# 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
:
self
.
portal
.
portal_alarms
.
packing_list_builder_alarm
.
activeSense
()
self
.
portal
.
portal_alarms
.
packing_list_builder_alarm
.
activeSense
()
class
TestOrder
(
TestOrderMixin
,
ERP5TypeTestCase
):
class
TestOrder
(
TestOrderMixin
,
ERP5TypeTestCase
):
...
...
product/ERP5Legacy/tests/testLegacySimulationInvoice.py
View file @
faa66e6a
...
@@ -1184,6 +1184,12 @@ class TestInvoiceMixin(TestPackingListMixin,
...
@@ -1184,6 +1184,12 @@ class TestInvoiceMixin(TestPackingListMixin,
id
=
'income'
,
source
=
'account_module/sale'
,
id
=
'income'
,
source
=
'account_module/sale'
,
destination
=
'account_module/purchase'
,
quantity
=
1665
)
destination
=
'account_module/purchase'
,
quantity
=
1665
)
def
stepInvoiceBuilderAlarm
(
self
,
sequence
=
None
,
sequence_list
=
None
,
**
kw
):
# global builder alarm does not exist in legacy simulation
# business templates.
pass
class
TestInvoice
(
TestInvoiceMixin
):
class
TestInvoice
(
TestInvoiceMixin
):
"""Test methods for sale and purchase invoice.
"""Test methods for sale and purchase invoice.
Subclasses must defines portal types to use.
Subclasses must defines portal types to use.
...
...
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