Skip to content

Commit

Permalink
Fix an apparent test bug - unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
therefromhere committed Feb 4, 2019
1 parent 2b27fd9 commit 922dff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_charge.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def test_sync_from_stripe_data(
fake_charge_copy = deepcopy(FAKE_CHARGE)
fake_charge_copy.update({"application_fee": {"amount": 0}})

charge = Charge.sync_from_stripe_data(FAKE_CHARGE)
charge = Charge.sync_from_stripe_data(fake_charge_copy)

self.assertEqual(Decimal("22"), charge.amount)
self.assertEqual(True, charge.paid)
Expand Down

0 comments on commit 922dff8

Please sign in to comment.