Commit 9c3c6430 authored by Łukasz Nowak's avatar Łukasz Nowak

Pass future accounting date to alarm.

parent dac221ca
......@@ -10,7 +10,7 @@ import re
import xml_marshaller
from AccessControl.SecurityManagement import getSecurityManager, \
setSecurityManager
from DateTime import DateTime
def changeSkin(skin_name):
def decorator(func):
......@@ -627,7 +627,8 @@ class TestSlapOSDefaultScenario(TestSlapOSSecurityMixin):
self.tic()
# deliver aggregated deliveries
self.stepCallSlaposDeliverConfirmedAggregatedSalePackingListAlarm()
self.stepCallSlaposDeliverConfirmedAggregatedSalePackingListAlarm(
accounting_date=DateTime('2222/01/01'))
self.tic()
# stabilise aggregated deliveries and expand them
......
111
\ No newline at end of file
112
\ No newline at end of file
......@@ -181,7 +181,7 @@ class testVifibMixin(ERP5TypeTestCase):
sm = getSecurityManager()
self.login()
try:
alarm.activeSense()
alarm.activeSense(*args, **kwargs)
transaction.commit()
finally:
setSecurityManager(sm)
......
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