Skip to content

Commit

Permalink
ref: match signature of run_test in test_slack
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile-sentry committed Jul 24, 2024
1 parent 3692008 commit 14df731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/sentry/incidents/action_handlers/test_slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 14df731

Please sign in to comment.