billing: Use mock_stripe in test_downgrade_with_money_owed.

This commit is contained in:
Vishnu Ks
2018-11-25 18:54:54 +00:00
committed by Rishi Gupta
parent a8b95ff801
commit 8343ed6ceb
13 changed files with 1139 additions and 35 deletions

View File

@@ -135,3 +135,8 @@ class Charge:
@staticmethod
def list(customer: Optional[str]) -> List[Charge]:
...
class InvoiceItem:
@staticmethod
def create(amount: int, currency: str, customer: Customer, subscription: Subscription) -> Subscription:
...