Commit 5e1d5723 authored by Łukasz Nowak's avatar Łukasz Nowak

Instance setup packing list is delivered immediately.

parent d98ad70d
......@@ -35,11 +35,11 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
resource=self.portal.portal_preferences\
.getPreferredInstanceSetupResource()).getParentValue()
self.assertEqual('stopped', instance_setup_delivery.getSimulationState())
self.assertEqual('delivered', instance_setup_delivery.getSimulationState())
start_date = None
for item in self.portal.portal_workflow.getInfoFor(
ob=instance_setup_delivery, name='history', wf_id='packing_list_workflow'):
if item.get('simulation_state') == 'stopped':
if item.get('simulation_state') == 'delivered':
start_date = item.get('time')
break
......
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