Commit e62c5896 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: fix slapos_crm_delete_instance_tree test

parent 28f44985
...@@ -440,7 +440,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -440,7 +440,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort):
reference="TESTREGREQ-%s" % new_id, reference="TESTREGREQ-%s" % new_id,
) )
def test_alarm_matching_regularisation_request(self): def test_deleteInstanceTree_matching_regularisation_request(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_delete_acknowledgement') ticket.edit(resource='service_module/slapos_crm_delete_acknowledgement')
ticket.validate() ticket.validate()
...@@ -451,7 +451,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -451,7 +451,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort):
slapos_crm_delete_instance_tree slapos_crm_delete_instance_tree
self._test_alarm(alarm, ticket, "RegularisationRequest_deleteInstanceTreeList") self._test_alarm(alarm, ticket, "RegularisationRequest_deleteInstanceTreeList")
def test_alarm_not_suspended(self): def test_deleteInstanceTree_not_suspended(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_delete_acknowledgement') ticket.edit(resource='service_module/slapos_crm_delete_acknowledgement')
ticket.validate() ticket.validate()
...@@ -462,7 +462,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort): ...@@ -462,7 +462,7 @@ class TestSlapOSCrmDeleteInstanceTree(SlapOSTestCaseMixinWithAbort):
self._test_alarm_not_visited(alarm, ticket, "RegularisationRequest_deleteInstanceTreeList") self._test_alarm_not_visited(alarm, ticket, "RegularisationRequest_deleteInstanceTreeList")
def test_alarm_other_resource(self): def test_deleteInstanceTree_other_resource(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()
......
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