Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_stripe: Add clarification comment.

Aman Agrawal9bcdaee065dd
diff --git a/corporate/tests/test_stripe.py b/corporate/tests/test_stripe.py
index f4938562d8a..00fc93834c4 100644
--- a/corporate/tests/test_stripe.py
+++ b/corporate/tests/test_stripe.py
@@ -659,6 +659,8 @@ class StripeTestCase(ZulipTestCase):
params.pop(key, None)
if talk_to_stripe:
+ # Store the event after which we pay the invoice so that we can
+ # process all the events from this event to the latest.
[last_event] = iter(stripe.Event.list(limit=1))
existing_customer = self.billing_session.customer_plan_exists()