Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ruff: Fix SIM910 Use `.get(key)` instead of `.get(key, None)`.
Anders Kaseorg10271fb8509f
diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.pyindex 09c28e20359..f1a5165230b 100644--- a/corporate/tests/test_stripe.py+++ b/corporate/tests/test_stripe.py@@ -650,7 +650,7 @@ class StripeTestCase(ZulipTestCase):license_management="automatic",)- remote_server_plan_start_date = kwargs.get("remote_server_plan_start_date", None)+ remote_server_plan_start_date = kwargs.get("remote_server_plan_start_date")if remote_server_plan_start_date:params.update(remote_server_plan_start_date=remote_server_plan_start_date,diff --git a/zerver/lib/test_classes.py b/zerver/lib/test_classes.pyindex a50788babe3..b5eb1deec44 100644--- a/zerver/lib/test_classes.py+++ b/zerver/lib/test_classes.py@@ -1894,7 +1894,7 @@ Output:user_notifications_data=user_notifications_data,message_id=message_id,acting_user_id=acting_user_id,- mentioned_user_group_id=kwargs.get("mentioned_user_group_id", None),+ mentioned_user_group_id=kwargs.get("mentioned_user_group_id"),idle=kwargs.get("idle", True),already_notified=kwargs.get("already_notified", {"email_notified": False, "push_notified": False}