Commit 528bbe62 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: fixup slapos_crm_check_instance_in_error test

parent 7a7ac9ee
......@@ -673,14 +673,14 @@ class TestSlapOSCrmMonitoringCheckInstanceInError(SlapOSTestCaseMixinWithAbort):
instance_tree.requestStart(**kw)
instance_tree.requestInstance(**kw)
def test_alarm_check_instance_in_error_validated_instance_tree(self):
def test_checkInstanceInError_validated_instance_tree(self):
host_sub = self._makeInstanceTree()
self.tic()
alarm = self.portal.portal_alarms.\
slapos_crm_check_instance_in_error
self._test_alarm(alarm, host_sub, "InstanceTree_checkSoftwareInstanceState")
def test_alarm_check_instance_in_error_validated_instance_tree_with_monitor_disabled(self):
def test_checkInstanceInError_validated_instance_tree_with_monitor_disabled(self):
host_sub = self._makeInstanceTree()
host_sub.edit(monitor_scope="disabled")
self.tic()
......@@ -693,7 +693,7 @@ class TestSlapOSCrmMonitoringCheckInstanceInError(SlapOSTestCaseMixinWithAbort):
self.assertEqual('Visited by InstanceTree_checkSoftwareInstanceState',
host_sub.workflow_history['edit_workflow'][-1]['comment'])
def test_alarm_check_instance_in_error_archived_instance_tree(self):
def test_checkInstanceInError_archived_instance_tree(self):
host_sub = self._makeInstanceTree()
host_sub.archive()
self.tic()
......
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