def test_get_conn_defaults_host(self): hook = OpsgenieAlertHook() hook.get_conn() self.assertEqual('https://api.opsgenie.com', hook.base_url)
def test_get_conn_defaults_host(self): hook = OpsgenieAlertHook() hook.get_conn() assert 'https://api.opsgenie.com' == hook.base_url