def test_no_handler(self): trigger = AlertRuleTriggerAction( type=AlertRuleTriggerAction.Type.EMAIL.value) assert trigger.fire(Mock(), Mock(), 123) is None
def test_no_handler(self): trigger = AlertRuleTriggerAction( type=AlertRuleTriggerAction.Type.EMAIL.value) assert trigger.fire(Mock(), Mock(), Mock(), 123, IncidentStatus.CRITICAL) is None