diff --git a/zerver/webhooks/sentry/fixtures/sample_event.json b/zerver/webhooks/sentry/fixtures/sample_event_through_alert.json similarity index 100% rename from zerver/webhooks/sentry/fixtures/sample_event.json rename to zerver/webhooks/sentry/fixtures/sample_event_through_alert.json diff --git a/zerver/webhooks/sentry/tests.py b/zerver/webhooks/sentry/tests.py index 22d886eeff..97dde24c3d 100644 --- a/zerver/webhooks/sentry/tests.py +++ b/zerver/webhooks/sentry/tests.py @@ -251,7 +251,7 @@ This is an example python exception ```""" self.check_webhook("deprecated_exception_message", expected_topic, expected_message) - def test_sample_event(self) -> None: + def test_sample_event_through_alert(self) -> None: expected_topic = "This is an example Python exception" expected_message = """\ **New message event:** [This is an example Python exception](https://sentry.io/organizations/nitk-46/issues/4218258981/events/b6eff1a49b1f4132850b1238d968da70/) @@ -259,4 +259,4 @@ This is an example python exception **level:** error **timestamp:** 2023-05-31 11:06:16 ```""" - self.check_webhook("sample_event", expected_topic, expected_message) + self.check_webhook("sample_event_through_alert", expected_topic, expected_message)