Commit 70ade36e authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Enable regularisation alarms for the default scenarios.

parent 3b64e392
......@@ -12,7 +12,6 @@ import xml_marshaller
from AccessControl.SecurityManagement import getSecurityManager, \
setSecurityManager
from DateTime import DateTime
import json
class DefaultScenarioMixin(TestSlapOSSecurityMixin):
......@@ -26,6 +25,17 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
preferred_credential_request_automatic_approval=1
)
# Enable alarms for regularisation request
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_trigger_stop_reminder_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_acknowledgment_escalation.setEnabled(True)
# Create akarls steps
self.createAlarmStep()
@changeSkin('Hal')
def joinSlapOS(self, web_site, reference):
def findMessage(email, body):
......
......@@ -45,9 +45,7 @@
<item>
<key> <string>text_content_warning_message</string> </key>
<value>
<tuple>
<string>W: 15, 0: Unused import json (unused-import)</string>
</tuple>
<tuple/>
</value>
</item>
<item>
......
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