Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integrations: Rename fixture in Sentry integration.

Satyam Bansalfdc14ee3f00e
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 22d886eeff7..97dde24c3d7 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)