Commit 33ce14f6 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: XXX XXX disable crm alarms

parent 1c185a03
...@@ -41,6 +41,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -41,6 +41,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
preferred_cloud_contract_enabled=True preferred_cloud_contract_enabled=True
) )
"""
# Enable alarms for regularisation request # Enable alarms for regularisation request
self.portal.portal_alarms.slapos_crm_create_regularisation_request.setEnabled(True) self.portal.portal_alarms.slapos_crm_create_regularisation_request.setEnabled(True)
self.portal.portal_alarms.slapos_crm_invalidate_suspended_regularisation_request.setEnabled(True) self.portal.portal_alarms.slapos_crm_invalidate_suspended_regularisation_request.setEnabled(True)
...@@ -48,7 +49,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -48,7 +49,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
self.portal.portal_alarms.slapos_crm_trigger_stop_acknowledgment_escalation.setEnabled(True) self.portal.portal_alarms.slapos_crm_trigger_stop_acknowledgment_escalation.setEnabled(True)
self.portal.portal_alarms.slapos_crm_trigger_delete_reminder_escalation.setEnabled(True) self.portal.portal_alarms.slapos_crm_trigger_delete_reminder_escalation.setEnabled(True)
self.portal.portal_alarms.slapos_crm_trigger_acknowledgment_escalation.setEnabled(True) self.portal.portal_alarms.slapos_crm_trigger_acknowledgment_escalation.setEnabled(True)
"""
# Create akarls steps # Create akarls steps
self.createAlarmStep() self.createAlarmStep()
...@@ -490,13 +491,14 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -490,13 +491,14 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
self.stepCallSlaposManageBuildingCalculatingDeliveryAlarm() self.stepCallSlaposManageBuildingCalculatingDeliveryAlarm()
self.tic() self.tic()
# trigger the CRM interaction if 0:
self.stepCallSlaposCrmCreateRegularisationRequestAlarm() # trigger the CRM interaction
self.tic() self.stepCallSlaposCrmCreateRegularisationRequestAlarm()
self.tic()
# trigger the CRM interaction # trigger the CRM interaction
self.stepCallSlaposCrmCreateRegularisationRequestAlarm() self.stepCallSlaposCrmCreateRegularisationRequestAlarm()
self.tic() self.tic()
self.login() self.login()
......
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