Commit a2a8aba2 authored by Romain Courteaud's avatar Romain Courteaud

test: always create open order before trying to allocate

parent 899df26b
......@@ -65,6 +65,15 @@ class testSlapOSMixin(ERP5TypeTestCase):
setattr(self, 'stepCall' + convertToUpperCase(alarm.getId()) \
+ 'Alarm', makeCallAlarm(alarm))
# Compatibility
# Ensure Open Order are created before doing allocation
self.oldStepCallSlaposAllocateInstanceAlarm = self.stepCallSlaposAllocateInstanceAlarm
def newStepCallSlaposAllocateInstanceAlarm():
self.stepCallSlaposRequestUpdateInstanceTreeOpenSaleOrderAlarm()
self.tic()
self.oldStepCallSlaposAllocateInstanceAlarm()
self.stepCallSlaposAllocateInstanceAlarm = newStepCallSlaposAllocateInstanceAlarm
def createCertificateAuthorityFile(self):
"""Sets up portal_certificate_authority"""
......
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