requirements: Upgrade Python requirements.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-01-13 15:26:37 -08:00
committed by Tim Abbott
parent 653b0b0436
commit f223251ffe
17 changed files with 1050 additions and 1086 deletions

View File

@@ -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)