def test_credit(self):
     result = Customer.create(CUSTOMER)
     credit = {
         'amount': 40.00
     }
     credit['customer_id'] = result.customer_id
     credit['payment_id'] = result.payment_ids[0]
     Transaction.credit(credit)
 def test_credit(self):
     result = Customer.create(CUSTOMER)
     credit = {
         'amount': 40.00
     }
     credit['customer_id'] = result.customer_id
     credit['payment_id'] = result.payment_ids[0]
     Transaction.credit(credit)