Commit d5f71e30 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Alain Takoudjou

slapos_erp5: Enable alarms for the test purpose.

parent 8cb51987
......@@ -18,6 +18,15 @@ class TestSlapOSDump(SlapOSTestCaseMixin):
return path
def test(self):
#####
# Expected configuration to be found in production has some diffs compared to the latest
# test or a development instance. So the code bellow is to ajust the delta.
for alarm_id in ['slapos_crm_check_update_personal_allocation_scope',
'slapos_crm_stop_hosting_subscription',
'slapos_crm_delete_hosting_subscription']:
self.portal.portal_alarms[alarm_id].setEnabled(1)
#####
issue_count = 0
for dump, filename in [
('ERP5Site_dumpAlarmToolConfiguration', 'expected_alarm_tool_dumped_configuration'),
......
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