Commit 1dc23f4d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

trigger builder alarm.

parent 634cea46
......@@ -231,6 +231,10 @@ class TestConversionInSimulation(AccountingTestCase):
transaction.commit()
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,
run=run_all_test):
"""
......@@ -294,6 +298,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_applied_rule = order.getCausalityRelatedValue(
portal_type='Applied Rule')
......@@ -388,6 +395,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_applied_rule = order.getCausalityRelatedValue(
portal_type='Applied Rule')
......@@ -474,6 +484,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_packing_list = order.getCausalityRelatedValue(
portal_type='Sale Packing List')
self.assertNotEquals(related_packing_list, None)
......@@ -566,6 +579,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_packing_list = order.getCausalityRelatedValue(
portal_type='Sale Packing List')
self.assertNotEquals(related_packing_list, None)
......@@ -669,6 +685,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_packing_list = order.getCausalityRelatedValue(
portal_type='Purchase Packing List')
self.assertNotEquals(related_packing_list, None)
......@@ -775,6 +794,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_packing_list = order.getCausalityRelatedValue(
portal_type='Sale Packing List')
self.assertNotEquals(related_packing_list, None)
......@@ -853,6 +875,9 @@ class TestConversionInSimulation(AccountingTestCase):
order.confirm()
transaction.commit()
self.tic()
self.stepPackingListBuilderAlarm()
transaction.commit()
self.tic()
related_packing_list = order.getCausalityRelatedValue(
portal_type='Sale Packing List')
self.assertNotEquals(related_packing_list, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment