mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-30 19:43:47 +00:00 
			
		
		
		
	billing: Don't check for stripe config while running tests.
This commit is contained in:
		| @@ -69,7 +69,7 @@ class StripeError(JsonableError): | ||||
| def catch_stripe_errors(func: CallableT) -> CallableT: | ||||
|     @wraps(func) | ||||
|     def wrapped(*args: Any, **kwargs: Any) -> Any: | ||||
|         if STRIPE_PUBLISHABLE_KEY is None: | ||||
|         if not settings.TEST_SUITE and STRIPE_PUBLISHABLE_KEY is None: | ||||
|             # Dev-only message; no translation needed. | ||||
|             raise StripeError( | ||||
|                 "Missing Stripe config. See https://zulip.readthedocs.io/en/latest/subsystems/billing.html.") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user