Commit 66c6ca17 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: The script isn't called if the cloud contract is disabled.

parent 6cdb5706
...@@ -53,7 +53,7 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by S ...@@ -53,7 +53,7 @@ portal_workflow.doActionFor(context, action='edit_action', comment='Visited by S
self.tic() self.tic()
finally: finally:
self._dropSoftwareInstance_requestValidationPayment() self._dropSoftwareInstance_requestValidationPayment()
self.assertEqual( self.assertNotEqual(
'Visited by SoftwareInstance_requestValidationPayment', 'Visited by SoftwareInstance_requestValidationPayment',
self.software_instance.workflow_history['edit_workflow'][-1]['comment']) self.software_instance.workflow_history['edit_workflow'][-1]['comment'])
......
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