mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
653b0b0436
commit
f223251ffe
@@ -244,9 +244,9 @@ def generate_screenshot_from_config(
|
||||
bot = create_integration_bot(integration, screenshot_config.bot_name)
|
||||
create_integration_stream(integration, bot)
|
||||
if isinstance(integration, WebhookIntegration):
|
||||
assert isinstance(
|
||||
screenshot_config, ScreenshotConfig
|
||||
), "Webhook integrations require ScreenshotConfig"
|
||||
assert isinstance(screenshot_config, ScreenshotConfig), (
|
||||
"Webhook integrations require ScreenshotConfig"
|
||||
)
|
||||
message_sent = send_bot_payload_message(bot, integration, fixture_path, screenshot_config)
|
||||
else:
|
||||
send_bot_mock_message(bot, integration, fixture_path, screenshot_config)
|
||||
|
||||
Reference in New Issue
Block a user