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