Commit 30d97486 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_erp5: (test) Move pre-dump custom configuration to Mixin

parent ed6943d4
......@@ -18,15 +18,7 @@ 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_instance_tree',
'slapos_crm_delete_instance_tree']:
self.portal.portal_alarms[alarm_id].setEnabled(1)
#####
self.beforeDumpExpectedConfiguration()
issue_count = 0
for dump, filename, kwargs in [
('ERP5Site_dumpAlarmToolConfiguration', 'expected_alarm_tool_dumped_configuration', None),
......
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