Skip to content

Commit

Permalink
add endpoints for CreditSettlement and CreditRefund
Browse files Browse the repository at this point in the history
  • Loading branch information
timrichardson committed Sep 21, 2023
1 parent ba7e1f0 commit 4763f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ def test_customer_payments(self):
self.assertEndpointReached(self.companyfile.customer_payments.post, {'data': DATA}, 'POST',
f'/{CID}/Sale/CustomerPayment/')


def test_credit_refunds(self):
self.assertEqual(repr(self.companyfile.credit_refunds), (
"Sale_CreditRefundManager:\n"
Expand Down Expand Up @@ -289,6 +288,7 @@ def test_credit_settlements(self):
f'/{CID}/Sale/CreditSettlement/{UID}/')
self.assertEndpointReached(self.companyfile.credit_settlements.post, {'data': DATA}, 'POST',
f'/{CID}/Sale/CreditSettlement/')

def test_quotes(self):
self.assertEqual(repr(self.companyfile.quotes), (
"Sale_QuoteManager:\n"
Expand Down

0 comments on commit 4763f69

Please sign in to comment.