Commit 45f0a511 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: fix slapos_crm_trigger_acknowledgment_escalation test

parent 1628d3c2
...@@ -210,7 +210,7 @@ class TestSlapOSCrmTriggerEscalationOnAcknowledgmentRegularisationRequest(SlapOS ...@@ -210,7 +210,7 @@ class TestSlapOSCrmTriggerEscalationOnAcknowledgmentRegularisationRequest(SlapOS
reference="TESTREGREQ-%s" % new_id, reference="TESTREGREQ-%s" % new_id,
) )
def test_alarm_matching_regularisation_request(self): def test_triggerAcknowledgmentEscalation_matching_regularisation_request(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_acknowledgement') ticket.edit(resource='service_module/slapos_crm_acknowledgement')
ticket.validate() ticket.validate()
...@@ -222,7 +222,7 @@ class TestSlapOSCrmTriggerEscalationOnAcknowledgmentRegularisationRequest(SlapOS ...@@ -222,7 +222,7 @@ class TestSlapOSCrmTriggerEscalationOnAcknowledgmentRegularisationRequest(SlapOS
self._test_alarm(alarm, ticket, self._test_alarm(alarm, ticket,
"RegularisationRequest_triggerAcknowledgmentEscalation") "RegularisationRequest_triggerAcknowledgmentEscalation")
def test_alarm_not_suspended(self): def test_triggerAcknowledgmentEscalation_not_suspended(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.edit(resource='service_module/slapos_crm_acknowledgement') ticket.edit(resource='service_module/slapos_crm_acknowledgement')
ticket.validate() ticket.validate()
...@@ -234,7 +234,7 @@ class TestSlapOSCrmTriggerEscalationOnAcknowledgmentRegularisationRequest(SlapOS ...@@ -234,7 +234,7 @@ class TestSlapOSCrmTriggerEscalationOnAcknowledgmentRegularisationRequest(SlapOS
"RegularisationRequest_triggerAcknowledgmentEscalation") "RegularisationRequest_triggerAcknowledgmentEscalation")
def test_alarm_not_expected_resource(self): def test_triggerAcknowledgmentEscalation_not_expected_resource(self):
ticket = self.createRegularisationRequest() ticket = self.createRegularisationRequest()
ticket.validate() ticket.validate()
ticket.suspend() ticket.suspend()
......
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