Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
billing: Add nocoverage for some untested error cases.
Tim Abbott7563e3692c50
diff --git a/corporate/views.py b/corporate/views.pyindex 8b77a3a58fc..cb043e93e39 100644--- a/corporate/views.py+++ b/corporate/views.py@@ -71,11 +71,11 @@ def check_upgrade_parameters(has_stripe_token: bool,seat_count: int,) -> None:- if billing_modality not in VALID_BILLING_MODALITY_VALUES:+ if billing_modality not in VALID_BILLING_MODALITY_VALUES: # nocoverageraise BillingError("unknown billing_modality")- if schedule not in VALID_BILLING_SCHEDULE_VALUES:+ if schedule not in VALID_BILLING_SCHEDULE_VALUES: # nocoverageraise BillingError("unknown schedule")- if license_management not in VALID_LICENSE_MANAGEMENT_VALUES:+ if license_management not in VALID_LICENSE_MANAGEMENT_VALUES: # nocoverageraise BillingError("unknown license_management")if billing_modality == "charge_automatically":