From 14df7315b40274a1a8fde7f836c4d5212a65db8d Mon Sep 17 00:00:00 2001 From: anthony sottile Date: Wed, 24 Jul 2024 11:41:17 -0400 Subject: [PATCH] ref: match signature of run_test in test_slack --- tests/sentry/incidents/action_handlers/test_slack.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/sentry/incidents/action_handlers/test_slack.py b/tests/sentry/incidents/action_handlers/test_slack.py index 3fd8a830757611..8499098972de9a 100644 --- a/tests/sentry/incidents/action_handlers/test_slack.py +++ b/tests/sentry/incidents/action_handlers/test_slack.py @@ -75,7 +75,8 @@ def setUp(self): ) self.alert_rule = self.create_alert_rule() - def run_test(self, incident, method, chart_url=None): + def run_test(self, incident, method, **kwargs): + chart_url = kwargs.get("chart_url") handler = SlackActionHandler(self.action, incident, self.project) metric_value = 1000 status = IncidentStatus(incident.status)