mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
test_webhooks_common: Add logging for a test flake case.
This seems to happen occasionally in CI, and we don't know why.
This commit is contained in:
@@ -67,6 +67,10 @@ class MissingEventHeaderTestCase(WebhookTestCase):
|
||||
integration_name='Groove',
|
||||
support_email=FromAddress.SUPPORT
|
||||
).rstrip()
|
||||
if msg.sender.email != notification_bot.email: # nocoverage
|
||||
# This block seems to fire occasionally; debug output:
|
||||
print(msg)
|
||||
print(msg.content)
|
||||
self.assertEqual(msg.sender.email, notification_bot.email)
|
||||
self.assertEqual(msg.content, expected_message)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user