billing: Rename customer_with_active_subscription in fixture generation.

Fixes regression introduced in 79dddd5.
This commit is contained in:
Rishi Gupta 2018-08-06 12:18:16 -04:00
parent a8f66573f3
commit 086b7d76e5
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ def catch_stripe_errors(func: CallableT) -> CallableT:
def get_stripe_customer(stripe_customer_id: str) -> stripe.Customer:
stripe_customer = stripe.Customer.retrieve(stripe_customer_id, expand=["default_source"])
if PRINT_STRIPE_FIXTURE_DATA:
print(''.join(['"customer_with_active_subscription": ', str(stripe_customer), ','])) # nocoverage
print(''.join(['"customer_with_subscription": ', str(stripe_customer), ','])) # nocoverage
return stripe_customer
@catch_stripe_errors