Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
from zerver.lib.test_classes import WebhookTestCase
class ErrBitHookTests(WebhookTestCase):
def test_errbit_error_message(self) -> None:
expected_topic_name = "ZulipIntegrationTest / ErrbitEnvName"
expected_message = '[IllegalStateException](https://errbit.example.com/apps/5e1ed1ff1a603f3916f4f0de/problems/5e1fe93e1a603f3916f4f0e3): "Invalid state error" occurred.'
self.check_webhook("error_message", expected_topic_name, expected_message)