Commit 65dfb326 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Partially revert the change

  This change were commited by mistake
parent 44bd65b5
......@@ -2759,14 +2759,12 @@ class TestSlapOSCoreSlapOSCloudInteractionWorkflow(testSlapOSMixin):
return self.activeSense_call()
# Replace activeSense by a dummy method
class Alarm:
pass
#from Products.ERP5Type.Document.Alarm import Alarm
from Products.ERP5Type.Document.Alarm import Alarm
Alarm.activeSense_call = Alarm.activeSense
Alarm.activeSense = verify_activeSense_call
try:
instance.validate()
# instance.portal_alarms.slapos_allocate_instance.activeSense()
instance.portal_alarms.slapos_allocate_instance.activeSense()
self.tic()
finally:
Alarm.activeSense = Alarm.activeSense_call
......
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