Skip to content

Commit

Permalink
Updating test
Browse files Browse the repository at this point in the history
  • Loading branch information
PBurgos committed Sep 15, 2014
1 parent 8976a13 commit af1c631
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions payments/tests/test_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def test_record_charge(self, RetrieveMock):
"currency": "usd",
"paid": True,
"refunded": False,
"captured": True,
"fee": 499,
"dispute": None,
"created": 1363911708,
Expand Down Expand Up @@ -325,6 +326,7 @@ def test_refund_charge(self, RetrieveMock):
"currency": "usd",
"paid": True,
"refunded": True,
"captured": True,
"amount_refunded": 1000,
"fee": 499,
"dispute": None,
Expand Down Expand Up @@ -386,6 +388,7 @@ def test_charge_converts_dollars_into_cents(self, ChargeMock, RetrieveMock):
"currency": "usd",
"paid": True,
"refunded": False,
"captured": True,
"fee": 499,
"dispute": None,
"created": 1363911708,
Expand All @@ -410,6 +413,7 @@ def test_record_charge_in_jpy_with(self, RetrieveMock):
"currency": "jpy",
"paid": True,
"refunded": False,
"captured": True,
"fee": 499,
"dispute": None,
"created": 1363911708,
Expand All @@ -434,6 +438,7 @@ def test_refund_charge_in_jpy(self, RetrieveMock):
currency="jpy",
paid=True,
refunded=False,
captured=True,
fee=decimal.Decimal("4.99"),
disputed=False
)
Expand All @@ -449,6 +454,7 @@ def test_refund_charge_in_jpy(self, RetrieveMock):
"refunded": True,
"amount_refunded": 1000,
"fee": 499,
"captured": True,
"dispute": None,
"created": 1363911708,
"customer": "cus_xxxxxxxxxxxxxxx"
Expand Down Expand Up @@ -508,6 +514,7 @@ def test_charge_do_not_converts_dollars_in_jpy(self, ChargeMock, RetrieveMock):
"currency": "jpy",
"paid": True,
"refunded": False,
"captured": True,
"fee": 499,
"dispute": None,
"created": 1363911708,
Expand Down
2 changes: 2 additions & 0 deletions payments/tests/test_email.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def test_email_receipt_renders_amount_properly(self, ChargeMock, RetrieveMock):
"currency": "usd",
"paid": True,
"refunded": False,
"captured": True,
"fee": 499,
"dispute": None,
"created": 1363911708,
Expand All @@ -61,6 +62,7 @@ def test_email_receipt_renders_amount_in_JPY_properly(self, ChargeMock, Retrieve
"currency": "jpy",
"paid": True,
"refunded": False,
"captured": True,
"fee": 499,
"dispute": None,
"created": 1363911708,
Expand Down

0 comments on commit af1c631

Please sign in to comment.