mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
integrations: Rename fixture in Sentry integration.
This is done to clarify from where this fixture is coming from; as there
are two documented ways to test the integration.
(cherry picked from commit fdc14ee3f0)
This commit is contained in:
committed by
Alex Vandiver
parent
ec8a284ad5
commit
d3048b8791
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user