Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Remove uncaptured charge tests, deprecated from Stripe API.

  • Loading branch information...
commit 0c035ff14c2e7f64879664de041245e87fbc958f 1 parent fa135e3
Amber Feng authored August 15, 2012

Showing 1 changed file with 0 additions and 14 deletions. Show diff stats Hide diff stats

  1. 14  test/test_stripe.py
14  test/test_stripe.py
@@ -203,20 +203,6 @@ def test_retrieve_account(self):
203 203
         self.assertFalse(account.charge_enabled)
204 204
         self.assertFalse(account.details_submitted)
205 205
 
206  
-class ChargeTest(StripeTestCase):
207  
-    def test_create_uncaptured_charge(self):
208  
-        charge = stripe.Charge.create(uncaptured=True, **DUMMY_CHARGE)
209  
-        self.assertTrue(charge.paid)
210  
-        self.assertFalse(charge.refunded)
211  
-        self.assertTrue(charge.uncaptured)
212  
-
213  
-    def test_create_uncaptured_charge_and_capture(self):
214  
-        charge = stripe.Charge.create(uncaptured=True, **DUMMY_CHARGE)
215  
-        charge.capture()
216  
-        self.assertTrue(charge.paid)
217  
-        self.assertFalse(charge.refunded)
218  
-        self.assertEqual(charge.get('uncaptured'), None)
219  
-
220 206
 class CustomerTest(StripeTestCase):
221 207
     def test_list_customers(self):
222 208
         customers = stripe.Customer.all()

0 notes on commit 0c035ff

Please sign in to comment.
Something went wrong with that request. Please try again.