Commit 8920b1be authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: fix slapos_crm_stop_instance_tree test

parent 1418a003
...@@ -385,7 +385,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -385,7 +385,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
reference="TESTREGREQ-%s" % new_id, reference="TESTREGREQ-%s" % new_id,
) )
def test_alarm_matching_regularisation_request(self): def test_stopInstanceTree_matching_regularisation_request(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_delete_reminder') ticket.edit(resource='service_module/slapos_crm_delete_reminder')
ticket.validate() ticket.validate()
...@@ -396,7 +396,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -396,7 +396,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
slapos_crm_stop_instance_tree slapos_crm_stop_instance_tree
self._test_alarm(alarm, ticket, "RegularisationRequest_stopInstanceTreeList") self._test_alarm(alarm, ticket, "RegularisationRequest_stopInstanceTreeList")
def test_alarm_matching_regularisation_request_2(self): def test_stopInstanceTree_matching_regularisation_request_2(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_stop_acknowledgement') ticket.edit(resource='service_module/slapos_crm_stop_acknowledgement')
ticket.validate() ticket.validate()
...@@ -407,7 +407,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -407,7 +407,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
slapos_crm_stop_instance_tree slapos_crm_stop_instance_tree
self._test_alarm(alarm, ticket, "RegularisationRequest_stopInstanceTreeList") self._test_alarm(alarm, ticket, "RegularisationRequest_stopInstanceTreeList")
def test_alarm_not_suspended(self): def test_stopInstanceTree_not_suspended(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_stop_acknowledgement') ticket.edit(resource='service_module/slapos_crm_stop_acknowledgement')
ticket.validate() ticket.validate()
...@@ -418,7 +418,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -418,7 +418,7 @@ class TestSlapOSCrmStopInstanceTree(SlapOSTestCaseMixinWithAbort):
self._test_alarm_not_visited(alarm, ticket, "RegularisationRequest_stopInstanceTreeList") self._test_alarm_not_visited(alarm, ticket, "RegularisationRequest_stopInstanceTreeList")
def test_alarm_other_resource(self): def test_stopInstanceTree_other_resource(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_acknowledgement') ticket.edit(resource='service_module/slapos_acknowledgement')
ticket.validate() ticket.validate()
......
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