Exemplo n.º 1
0
 def test_compatibility_header(self):
     pagerduty_alert.check(None,
                           'name',
                           'state',
                           'service_id',
                           'integration_key',
                           'api_key',
                           http_call=self._assert_compatibility_header)
Exemplo n.º 2
0
 def test_incident_url(self):
     pagerduty_alert.check(None,
                           'name',
                           'state',
                           'service_id',
                           'integration_key',
                           'api_key',
                           http_call=self._assert_incident_api)
Exemplo n.º 3
0
 def test_incident_key_in_url_when_it_is_given(self):
     pagerduty_alert.check(None,
                           'name',
                           'state',
                           'service_id',
                           'integration_key',
                           'api_key',
                           incident_key='incident_key_value',
                           http_call=self._assert_incident_key)