Commit f5369534 authored by Romain Courteaud's avatar Romain Courteaud

Using active sense lose parameters, as Tic also trigger active sense

parent c46b4aa5
......@@ -157,18 +157,11 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
idx += 1
def stepIncreaseOpenOrderCoverage(self, sequence, **kw):
person = self.portal.person_module['test_vifib_customer']
open_order = \
person.getDestinationDecisionRelatedValue(portal_type="Open Sale Order")
open_order_line_list = \
open_order.contentValues(portal_type="Open Sale Order Line")
self.assertEquals(1, len(open_order_line_list))
open_order_line = open_order_line_list[0]
self.portal.portal_alarms.vifib_update_open_sale_order_line.activeSense(
params={'stop_date': addToDate(getClosestDate(target_date=DateTime(),
self.portal.portal_alarms.vifib_update_open_sale_order_line.Alarm_updateOpenSaleOrderLine(
'test_tag', False,
{'stop_date': addToDate(getClosestDate(target_date=DateTime(),
precision='month', before=1), month=3)})
def stepCheckThreeTopLevelSimulationMovement(self, sequence, **kw):
person = self.portal.person_module['test_vifib_customer']
open_order = \
......
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