From 105b633f70f9966afae068ea2df59d39dd0844c8 Mon Sep 17 00:00:00 2001 From: stephenthajeb Date: Fri, 10 Nov 2023 16:53:11 +0700 Subject: [PATCH] remove auto generated test --- requirements.txt | 1 + test/.env.test | 1 - test/invoice_api_test.py | 28 ++++--- test/payment_api_test.py | 75 ++++++++++--------- test/test_address_object.py | 30 -------- test/test_alternative_display_item.py | 30 -------- test/test_bad_request_error.py | 30 -------- test/test_bank.py | 34 --------- test/test_bank_code.py | 30 -------- test/test_channel.py | 34 --------- test/test_channel_account_type.py | 30 -------- test/test_channel_category.py | 30 -------- test/test_create_invoice_request.py | 38 ---------- test/test_create_payout_request.py | 34 --------- test/test_customer_object.py | 32 -------- .../test_digital_payout_channel_properties.py | 32 -------- test/test_direct_debit.py | 32 -------- test/test_direct_debit_type.py | 30 -------- test/test_error_errors_inner.py | 30 -------- test/test_ewallet.py | 32 -------- test/test_ewallet_type.py | 30 -------- test/test_forbidden_error.py | 30 -------- test/test_get_payouts200_response.py | 34 --------- ...test_get_payouts200_response_data_inner.py | 36 --------- test/test_get_payouts200_response_links.py | 30 -------- test/test_invoice.py | 56 -------------- test/test_invoice_client_type.py | 30 -------- test/test_invoice_currency.py | 30 -------- ...st_invoice_error404_response_definition.py | 30 -------- test/test_invoice_fee.py | 30 -------- test/test_invoice_item.py | 30 -------- test/test_invoice_not_found_error.py | 30 -------- test/test_invoice_payment_method.py | 30 -------- test/test_invoice_status.py | 30 -------- test/test_notification_channel.py | 30 -------- test/test_notification_preference.py | 32 -------- test/test_paylater.py | 32 -------- test/test_paylater_type.py | 30 -------- test/test_payout.py | 38 ---------- test/test_payout_all_of.py | 30 -------- test/test_qr_code.py | 32 -------- test/test_qr_code_type.py | 30 -------- test/test_receipt_notification.py | 30 -------- test/test_retail_outlet.py | 32 -------- test/test_retail_outlet_name.py | 30 -------- test/test_unauthorized_error.py | 30 -------- test/utils/__init__.py | 0 47 files changed, 57 insertions(+), 1388 deletions(-) delete mode 100644 test/test_address_object.py delete mode 100644 test/test_alternative_display_item.py delete mode 100644 test/test_bad_request_error.py delete mode 100644 test/test_bank.py delete mode 100644 test/test_bank_code.py delete mode 100644 test/test_channel.py delete mode 100644 test/test_channel_account_type.py delete mode 100644 test/test_channel_category.py delete mode 100644 test/test_create_invoice_request.py delete mode 100644 test/test_create_payout_request.py delete mode 100644 test/test_customer_object.py delete mode 100644 test/test_digital_payout_channel_properties.py delete mode 100644 test/test_direct_debit.py delete mode 100644 test/test_direct_debit_type.py delete mode 100644 test/test_error_errors_inner.py delete mode 100644 test/test_ewallet.py delete mode 100644 test/test_ewallet_type.py delete mode 100644 test/test_forbidden_error.py delete mode 100644 test/test_get_payouts200_response.py delete mode 100644 test/test_get_payouts200_response_data_inner.py delete mode 100644 test/test_get_payouts200_response_links.py delete mode 100644 test/test_invoice.py delete mode 100644 test/test_invoice_client_type.py delete mode 100644 test/test_invoice_currency.py delete mode 100644 test/test_invoice_error404_response_definition.py delete mode 100644 test/test_invoice_fee.py delete mode 100644 test/test_invoice_item.py delete mode 100644 test/test_invoice_not_found_error.py delete mode 100644 test/test_invoice_payment_method.py delete mode 100644 test/test_invoice_status.py delete mode 100644 test/test_notification_channel.py delete mode 100644 test/test_notification_preference.py delete mode 100644 test/test_paylater.py delete mode 100644 test/test_paylater_type.py delete mode 100644 test/test_payout.py delete mode 100644 test/test_payout_all_of.py delete mode 100644 test/test_qr_code.py delete mode 100644 test/test_qr_code_type.py delete mode 100644 test/test_receipt_notification.py delete mode 100644 test/test_retail_outlet.py delete mode 100644 test/test_retail_outlet_name.py delete mode 100644 test/test_unauthorized_error.py create mode 100644 test/utils/__init__.py diff --git a/requirements.txt b/requirements.txt index dd46d498..e36276b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ python_dateutil >= 2.5.3 setuptools >= 21.0.0 urllib3 >= 1.25.3 python-dotenv==1.0.0 +pytest==7.4.3 diff --git a/test/.env.test b/test/.env.test index 3a5b794e..b66dd9d0 100644 --- a/test/.env.test +++ b/test/.env.test @@ -1,2 +1 @@ IGNORED_ERRORCODE=[INVALID_API_KEY] -BUSINESS_ID=612576f7b62bed40561f829f diff --git a/test/invoice_api_test.py b/test/invoice_api_test.py index d2ebef54..2066df9f 100644 --- a/test/invoice_api_test.py +++ b/test/invoice_api_test.py @@ -1,11 +1,11 @@ import unittest -from dotenv import load_dotenv import os -import xendit +import sys +from xendit import Configuration, ApiClient, XenditSdkException from xendit.apis import InvoiceApi - -from utils.test_utils import TestUtil +from test.utils.test_utils import TestUtil +from dotenv import load_dotenv class TestInvoiceAPI(unittest.TestCase): @@ -13,10 +13,13 @@ def setUp(self): test_folder_path = os.path.join(os.getcwd(), 'test') load_dotenv(os.path.join(test_folder_path, '.env.test')) - configuration = xendit.Configuration( + if os.getenv('DEVELOPMENT_API_KEY') == None: + print("DEVELOPMENT_API_KEY doesn't exists") + + configuration = Configuration( api_key=os.getenv('DEVELOPMENT_API_KEY') ) - api_client = xendit.ApiClient(configuration) + api_client = ApiClient(configuration) self.invoice_api_instance = InvoiceApi(api_client) self.ignore_error_codes = os.getenv("IGNORED_ERRORCODE") @@ -28,24 +31,27 @@ def test_create_invoice(self): 'amount': 1000, }) + print("test_create_invoice Resp", response) self.assertIsNotNone(response) self.assertEqual(response['amount'], 1000) - self.assertEqual(response['externalId'], external_id) - except Exception as error: + self.assertEqual(response['external_id'], external_id) + self.assertEqual(str(response['status']), "PENDING") + except XenditSdkException as error: print("test_create_invoice", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_get_invoice_by_id(self): try: response = self.invoice_api_instance.get_invoice_by_id("654a103b5e6dfa587b6025c3") + print("test_get_invoice_by_id Resp", response) self.assertIsNotNone(response) - except Exception as error: + except XenditSdkException as error: print("test_get_invoice_by_id", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error diff --git a/test/payment_api_test.py b/test/payment_api_test.py index c89075c6..1d36acc8 100644 --- a/test/payment_api_test.py +++ b/test/payment_api_test.py @@ -1,8 +1,8 @@ import unittest from dotenv import load_dotenv import os -from utils.test_utils import TestUtil -import xendit +from test.utils.test_utils import TestUtil +from xendit import ApiClient, Configuration, XenditSdkException from xendit.apis import PaymentMethodApi, PaymentRequestApi class TestPaymentAPI(unittest.TestCase): @@ -11,10 +11,14 @@ def setUp(self): test_folder_path = os.path.join(os.getcwd(), 'test') load_dotenv(os.path.join(test_folder_path, '.env.test')) - configuration = xendit.Configuration( + + if os.getenv('DEVELOPMENT_API_KEY') == None: + print("DEVELOPMENT_API_KEY doesn't exists") + + configuration = Configuration( api_key=os.getenv('DEVELOPMENT_API_KEY') ) - api_client = xendit.ApiClient(configuration) + api_client = ApiClient(configuration) self.payment_method_instance = PaymentMethodApi(api_client) self.payment_request_instance = PaymentRequestApi(api_client) self.ignore_error_codes = os.getenv("IGNORED_ERRORCODE") @@ -44,9 +48,8 @@ def test_create_card_payment(self): } } ) - print("Response create_payment_method\n", pm_response) self.assertIsNotNone(pm_response) - self.assertEqual(pm_response.status, "PENDING") + self.assertEqual(str(pm_response.status), "PENDING") # Create Payment Request pr_response = self.payment_request_instance.create_payment_request( @@ -61,14 +64,14 @@ def test_create_card_payment(self): print("Response create_payment_request\n", pr_response) self.assertIsNotNone(pr_response) self.assertEqual(pr_response.payment_method.id, pm_response.id) - self.assertEqual(pr_response.status, "REQUIRES_ACTION") + self.assertEqual(str(pr_response.status), "REQUIRES_ACTION") self.assertTrue(len(pr_response.actions) > 0) - except Exception as error: + except XenditSdkException as error: print("Error test_create_card_payment\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_create_direct_debit_payment(self): @@ -94,7 +97,7 @@ def test_create_direct_debit_payment(self): ) print("Response create_payment_method\n", pm_response) self.assertIsNotNone(pm_response) - self.assertEqual("REQUIRES_ACTION", pm_response.status) + self.assertEqual("REQUIRES_ACTION", str(pm_response.status)) self.assertTrue(len(pm_response.actions) > 0) # Perform Payment Method Authentication @@ -107,8 +110,8 @@ def test_create_direct_debit_payment(self): print("Response auth_payment_method",auth_response) self.assertIsNotNone(auth_response) - self.assertEqual(auth_response.status,"ACTIVE") - self.assertEqual(auth_response.actions, 0) + self.assertEqual(str(auth_response.status),"ACTIVE") + self.assertTrue(len(pm_response.actions) > 0) # Create Payment Request pr_response = self.payment_request_instance.create_payment_request( @@ -124,13 +127,13 @@ def test_create_direct_debit_payment(self): print("Response create_payment_request\n", pr_response) self.assertIsNotNone(pr_response) self.assertEqual(pr_response.payment_method.id, pm_response.id) - self.assertEqual(pr_response.status, "REQUIRES_ACTION") - self.assertTrue(pr_response.actions > 0) + self.assertEqual(str(pr_response.status), "REQUIRES_ACTION") + self.assertTrue(len(pr_response.actions) > 0) - except Exception as error: + except XenditSdkException as error: print("Error test_create_direct_debit_payment\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_create_ewallet_payment(self): @@ -147,15 +150,15 @@ def test_create_ewallet_payment(self): "channel_properties": { "success_return_url": "https://redirect.me/goodstuff", "failure_return_url": "https://redirect.me/badstuff", - "cancel_return_url": "https://redirect.me/nostuff" - } + "cancel_return_url": "https://redirect.me/nostuff", + "mobile_number": "+62818555988", + }, } } ) print("Response create_payment_method\n", pm_response) self.assertIsNotNone(pm_response) - self.assertEqual(pm_response.status, "PENDING") - self.assertEqual(pm_response.status, "ACTIVE") + self.assertEqual(str(pm_response.status), "ACTIVE") self.assertTrue(len(pm_response.actions) == 0) @@ -172,14 +175,14 @@ def test_create_ewallet_payment(self): print("Response create_payment_request\n", pr_response) self.assertIsNotNone(pr_response) - self.assertEqual("PENDING", pr_response.status) + self.assertEqual("PENDING", str(pr_response.status)) self.assertEqual(pr_response.payment_method.id, pm_response.id) - except Exception as error: + except XenditSdkException as error: print("Error test_create_ewallet_payment\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_over_the_counter_payment(self): @@ -205,12 +208,12 @@ def test_over_the_counter_payment(self): print("Response create_payment_request\n", pr_response) self.assertIsNotNone(pr_response) - self.assertEqual(pr_response.status, "PENDING") + self.assertEqual(str(pr_response.status), "PENDING") - except Exception as error: + except XenditSdkException as error: print("Error test_over_the_counter_payment\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_qr_payment(self): @@ -233,12 +236,12 @@ def test_qr_payment(self): print("Response create_payment_request\n", pr_response) self.assertIsNotNone(pr_response) - self.assertEqual(pr_response.status, "PENDING") + self.assertEqual(str(pr_response.status), "PENDING") - except Exception as error: + except XenditSdkException as error: print("Error test_qr_payment\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_virtual_account_payment(self): @@ -267,12 +270,12 @@ def test_virtual_account_payment(self): print("Response create_payment_request\n", pr_response) self.assertIsNotNone(pr_response) - self.assertEqual(pr_response.status, "PENDING") + self.assertEqual(str(pr_response.status), "PENDING") - except Exception as error: + except XenditSdkException as error: print("Error test_virtual_account_payment\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_get_payment_method(self): @@ -283,10 +286,10 @@ def test_get_payment_method(self): print("Response get_payment_method_by_id\n", pm_response) self.assertIsNotNone(pm_response) - except Exception as error: + except XenditSdkException as error: print("Error test_get_payment_method\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error def test_get_payment_request(self): @@ -297,10 +300,10 @@ def test_get_payment_request(self): print("Response get_payment_request_by_id\n", pr_response) self.assertIsNotNone(pr_response) - except Exception as error: + except XenditSdkException as error: print("Error test_get_payment_request\n", error) - if type(error) == xendit.XenditSdkException and error.errorCode not in self.ignore_error_codes: + if error.errorCode not in self.ignore_error_codes: raise error if __name__ == '__main__': diff --git a/test/test_address_object.py b/test/test_address_object.py deleted file mode 100644 index f1621b83..00000000 --- a/test/test_address_object.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.address_object import AddressObject - - -class TestAddressObject(unittest.TestCase): - """AddressObject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAddressObject(self): - """Test AddressObject""" - # FIXME: construct object with mandatory attributes with example values - # model = AddressObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_alternative_display_item.py b/test/test_alternative_display_item.py deleted file mode 100644 index 4571fe52..00000000 --- a/test/test_alternative_display_item.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.alternative_display_item import AlternativeDisplayItem - - -class TestAlternativeDisplayItem(unittest.TestCase): - """AlternativeDisplayItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testAlternativeDisplayItem(self): - """Test AlternativeDisplayItem""" - # FIXME: construct object with mandatory attributes with example values - # model = AlternativeDisplayItem() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_bad_request_error.py b/test/test_bad_request_error.py deleted file mode 100644 index 63d0155a..00000000 --- a/test/test_bad_request_error.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.bad_request_error import BadRequestError - - -class TestBadRequestError(unittest.TestCase): - """BadRequestError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBadRequestError(self): - """Test BadRequestError""" - # FIXME: construct object with mandatory attributes with example values - # model = BadRequestError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_bank.py b/test/test_bank.py deleted file mode 100644 index 40392704..00000000 --- a/test/test_bank.py +++ /dev/null @@ -1,34 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.alternative_display_item import AlternativeDisplayItem -from xendit.invoice.model.bank_code import BankCode -globals()['AlternativeDisplayItem'] = AlternativeDisplayItem -globals()['BankCode'] = BankCode -from xendit.invoice.model.bank import Bank - - -class TestBank(unittest.TestCase): - """Bank unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBank(self): - """Test Bank""" - # FIXME: construct object with mandatory attributes with example values - # model = Bank() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_bank_code.py b/test/test_bank_code.py deleted file mode 100644 index 839c1ec6..00000000 --- a/test/test_bank_code.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.bank_code import BankCode - - -class TestBankCode(unittest.TestCase): - """BankCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testBankCode(self): - """Test BankCode""" - # FIXME: construct object with mandatory attributes with example values - # model = BankCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_channel.py b/test/test_channel.py deleted file mode 100644 index ffcf5251..00000000 --- a/test/test_channel.py +++ /dev/null @@ -1,34 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.channel_amount_limits import ChannelAmountLimits -from xendit.payout.model.channel_category import ChannelCategory -globals()['ChannelAmountLimits'] = ChannelAmountLimits -globals()['ChannelCategory'] = ChannelCategory -from xendit.payout.model.channel import Channel - - -class TestChannel(unittest.TestCase): - """Channel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannel(self): - """Test Channel""" - # FIXME: construct object with mandatory attributes with example values - # model = Channel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_channel_account_type.py b/test/test_channel_account_type.py deleted file mode 100644 index d18b3c94..00000000 --- a/test/test_channel_account_type.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.channel_account_type import ChannelAccountType - - -class TestChannelAccountType(unittest.TestCase): - """ChannelAccountType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelAccountType(self): - """Test ChannelAccountType""" - # FIXME: construct object with mandatory attributes with example values - # model = ChannelAccountType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_channel_category.py b/test/test_channel_category.py deleted file mode 100644 index 16d27f11..00000000 --- a/test/test_channel_category.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.channel_category import ChannelCategory - - -class TestChannelCategory(unittest.TestCase): - """ChannelCategory unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testChannelCategory(self): - """Test ChannelCategory""" - # FIXME: construct object with mandatory attributes with example values - # model = ChannelCategory() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_invoice_request.py b/test/test_create_invoice_request.py deleted file mode 100644 index 43256f42..00000000 --- a/test/test_create_invoice_request.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.customer_object import CustomerObject -from xendit.invoice.model.invoice_fee import InvoiceFee -from xendit.invoice.model.invoice_item import InvoiceItem -from xendit.invoice.model.notification_preference import NotificationPreference -globals()['CustomerObject'] = CustomerObject -globals()['InvoiceFee'] = InvoiceFee -globals()['InvoiceItem'] = InvoiceItem -globals()['NotificationPreference'] = NotificationPreference -from xendit.invoice.model.create_invoice_request import CreateInvoiceRequest - - -class TestCreateInvoiceRequest(unittest.TestCase): - """CreateInvoiceRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCreateInvoiceRequest(self): - """Test CreateInvoiceRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = CreateInvoiceRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_create_payout_request.py b/test/test_create_payout_request.py deleted file mode 100644 index 2671837a..00000000 --- a/test/test_create_payout_request.py +++ /dev/null @@ -1,34 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.digital_payout_channel_properties import DigitalPayoutChannelProperties -from xendit.payout.model.receipt_notification import ReceiptNotification -globals()['DigitalPayoutChannelProperties'] = DigitalPayoutChannelProperties -globals()['ReceiptNotification'] = ReceiptNotification -from xendit.payout.model.create_payout_request import CreatePayoutRequest - - -class TestCreatePayoutRequest(unittest.TestCase): - """CreatePayoutRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCreatePayoutRequest(self): - """Test CreatePayoutRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = CreatePayoutRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_customer_object.py b/test/test_customer_object.py deleted file mode 100644 index fb8836ff..00000000 --- a/test/test_customer_object.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.address_object import AddressObject -globals()['AddressObject'] = AddressObject -from xendit.invoice.model.customer_object import CustomerObject - - -class TestCustomerObject(unittest.TestCase): - """CustomerObject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testCustomerObject(self): - """Test CustomerObject""" - # FIXME: construct object with mandatory attributes with example values - # model = CustomerObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_digital_payout_channel_properties.py b/test/test_digital_payout_channel_properties.py deleted file mode 100644 index 4b79e907..00000000 --- a/test/test_digital_payout_channel_properties.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.channel_account_type import ChannelAccountType -globals()['ChannelAccountType'] = ChannelAccountType -from xendit.payout.model.digital_payout_channel_properties import DigitalPayoutChannelProperties - - -class TestDigitalPayoutChannelProperties(unittest.TestCase): - """DigitalPayoutChannelProperties unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDigitalPayoutChannelProperties(self): - """Test DigitalPayoutChannelProperties""" - # FIXME: construct object with mandatory attributes with example values - # model = DigitalPayoutChannelProperties() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_direct_debit.py b/test/test_direct_debit.py deleted file mode 100644 index da787ea8..00000000 --- a/test/test_direct_debit.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.direct_debit_type import DirectDebitType -globals()['DirectDebitType'] = DirectDebitType -from xendit.invoice.model.direct_debit import DirectDebit - - -class TestDirectDebit(unittest.TestCase): - """DirectDebit unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDirectDebit(self): - """Test DirectDebit""" - # FIXME: construct object with mandatory attributes with example values - # model = DirectDebit() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_direct_debit_type.py b/test/test_direct_debit_type.py deleted file mode 100644 index 8fee0ba8..00000000 --- a/test/test_direct_debit_type.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.direct_debit_type import DirectDebitType - - -class TestDirectDebitType(unittest.TestCase): - """DirectDebitType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testDirectDebitType(self): - """Test DirectDebitType""" - # FIXME: construct object with mandatory attributes with example values - # model = DirectDebitType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_error_errors_inner.py b/test/test_error_errors_inner.py deleted file mode 100644 index 910805ab..00000000 --- a/test/test_error_errors_inner.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.error_errors_inner import ErrorErrorsInner - - -class TestErrorErrorsInner(unittest.TestCase): - """ErrorErrorsInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testErrorErrorsInner(self): - """Test ErrorErrorsInner""" - # FIXME: construct object with mandatory attributes with example values - # model = ErrorErrorsInner() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ewallet.py b/test/test_ewallet.py deleted file mode 100644 index 38e2648c..00000000 --- a/test/test_ewallet.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.ewallet_type import EwalletType -globals()['EwalletType'] = EwalletType -from xendit.invoice.model.ewallet import Ewallet - - -class TestEwallet(unittest.TestCase): - """Ewallet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEwallet(self): - """Test Ewallet""" - # FIXME: construct object with mandatory attributes with example values - # model = Ewallet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_ewallet_type.py b/test/test_ewallet_type.py deleted file mode 100644 index 4744e9f9..00000000 --- a/test/test_ewallet_type.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.ewallet_type import EwalletType - - -class TestEwalletType(unittest.TestCase): - """EwalletType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testEwalletType(self): - """Test EwalletType""" - # FIXME: construct object with mandatory attributes with example values - # model = EwalletType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_forbidden_error.py b/test/test_forbidden_error.py deleted file mode 100644 index 0eeeb10f..00000000 --- a/test/test_forbidden_error.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.forbidden_error import ForbiddenError - - -class TestForbiddenError(unittest.TestCase): - """ForbiddenError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testForbiddenError(self): - """Test ForbiddenError""" - # FIXME: construct object with mandatory attributes with example values - # model = ForbiddenError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_payouts200_response.py b/test/test_get_payouts200_response.py deleted file mode 100644 index 858bf8d5..00000000 --- a/test/test_get_payouts200_response.py +++ /dev/null @@ -1,34 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.get_payouts200_response_data_inner import GetPayouts200ResponseDataInner -from xendit.payout.model.get_payouts200_response_links import GetPayouts200ResponseLinks -globals()['GetPayouts200ResponseDataInner'] = GetPayouts200ResponseDataInner -globals()['GetPayouts200ResponseLinks'] = GetPayouts200ResponseLinks -from xendit.payout.model.get_payouts200_response import GetPayouts200Response - - -class TestGetPayouts200Response(unittest.TestCase): - """GetPayouts200Response unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGetPayouts200Response(self): - """Test GetPayouts200Response""" - # FIXME: construct object with mandatory attributes with example values - # model = GetPayouts200Response() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_payouts200_response_data_inner.py b/test/test_get_payouts200_response_data_inner.py deleted file mode 100644 index fe1fdd61..00000000 --- a/test/test_get_payouts200_response_data_inner.py +++ /dev/null @@ -1,36 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.digital_payout_channel_properties import DigitalPayoutChannelProperties -from xendit.payout.model.payout import Payout -from xendit.payout.model.receipt_notification import ReceiptNotification -globals()['DigitalPayoutChannelProperties'] = DigitalPayoutChannelProperties -globals()['Payout'] = Payout -globals()['ReceiptNotification'] = ReceiptNotification -from xendit.payout.model.get_payouts200_response_data_inner import GetPayouts200ResponseDataInner - - -class TestGetPayouts200ResponseDataInner(unittest.TestCase): - """GetPayouts200ResponseDataInner unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGetPayouts200ResponseDataInner(self): - """Test GetPayouts200ResponseDataInner""" - # FIXME: construct object with mandatory attributes with example values - # model = GetPayouts200ResponseDataInner() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_get_payouts200_response_links.py b/test/test_get_payouts200_response_links.py deleted file mode 100644 index eaf32c75..00000000 --- a/test/test_get_payouts200_response_links.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.get_payouts200_response_links import GetPayouts200ResponseLinks - - -class TestGetPayouts200ResponseLinks(unittest.TestCase): - """GetPayouts200ResponseLinks unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testGetPayouts200ResponseLinks(self): - """Test GetPayouts200ResponseLinks""" - # FIXME: construct object with mandatory attributes with example values - # model = GetPayouts200ResponseLinks() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice.py b/test/test_invoice.py deleted file mode 100644 index 6222fead..00000000 --- a/test/test_invoice.py +++ /dev/null @@ -1,56 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.bank import Bank -from xendit.invoice.model.customer_object import CustomerObject -from xendit.invoice.model.direct_debit import DirectDebit -from xendit.invoice.model.ewallet import Ewallet -from xendit.invoice.model.invoice_currency import InvoiceCurrency -from xendit.invoice.model.invoice_fee import InvoiceFee -from xendit.invoice.model.invoice_item import InvoiceItem -from xendit.invoice.model.invoice_payment_method import InvoicePaymentMethod -from xendit.invoice.model.invoice_status import InvoiceStatus -from xendit.invoice.model.notification_preference import NotificationPreference -from xendit.invoice.model.paylater import Paylater -from xendit.invoice.model.qr_code import QrCode -from xendit.invoice.model.retail_outlet import RetailOutlet -globals()['Bank'] = Bank -globals()['CustomerObject'] = CustomerObject -globals()['DirectDebit'] = DirectDebit -globals()['Ewallet'] = Ewallet -globals()['InvoiceCurrency'] = InvoiceCurrency -globals()['InvoiceFee'] = InvoiceFee -globals()['InvoiceItem'] = InvoiceItem -globals()['InvoicePaymentMethod'] = InvoicePaymentMethod -globals()['InvoiceStatus'] = InvoiceStatus -globals()['NotificationPreference'] = NotificationPreference -globals()['Paylater'] = Paylater -globals()['QrCode'] = QrCode -globals()['RetailOutlet'] = RetailOutlet -from xendit.invoice.model.invoice import Invoice - - -class TestInvoice(unittest.TestCase): - """Invoice unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoice(self): - """Test Invoice""" - # FIXME: construct object with mandatory attributes with example values - # model = Invoice() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_client_type.py b/test/test_invoice_client_type.py deleted file mode 100644 index 6963785a..00000000 --- a/test/test_invoice_client_type.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_client_type import InvoiceClientType - - -class TestInvoiceClientType(unittest.TestCase): - """InvoiceClientType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceClientType(self): - """Test InvoiceClientType""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceClientType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_currency.py b/test/test_invoice_currency.py deleted file mode 100644 index efef5f6e..00000000 --- a/test/test_invoice_currency.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_currency import InvoiceCurrency - - -class TestInvoiceCurrency(unittest.TestCase): - """InvoiceCurrency unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceCurrency(self): - """Test InvoiceCurrency""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceCurrency() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_error404_response_definition.py b/test/test_invoice_error404_response_definition.py deleted file mode 100644 index 922c66d4..00000000 --- a/test/test_invoice_error404_response_definition.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_error404_response_definition import InvoiceError404ResponseDefinition - - -class TestInvoiceError404ResponseDefinition(unittest.TestCase): - """InvoiceError404ResponseDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceError404ResponseDefinition(self): - """Test InvoiceError404ResponseDefinition""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceError404ResponseDefinition() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_fee.py b/test/test_invoice_fee.py deleted file mode 100644 index 944c6f50..00000000 --- a/test/test_invoice_fee.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_fee import InvoiceFee - - -class TestInvoiceFee(unittest.TestCase): - """InvoiceFee unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceFee(self): - """Test InvoiceFee""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceFee() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_item.py b/test/test_invoice_item.py deleted file mode 100644 index e6b4da6d..00000000 --- a/test/test_invoice_item.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_item import InvoiceItem - - -class TestInvoiceItem(unittest.TestCase): - """InvoiceItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceItem(self): - """Test InvoiceItem""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceItem() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_not_found_error.py b/test/test_invoice_not_found_error.py deleted file mode 100644 index 23ad613c..00000000 --- a/test/test_invoice_not_found_error.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_not_found_error import InvoiceNotFoundError - - -class TestInvoiceNotFoundError(unittest.TestCase): - """InvoiceNotFoundError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceNotFoundError(self): - """Test InvoiceNotFoundError""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceNotFoundError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_payment_method.py b/test/test_invoice_payment_method.py deleted file mode 100644 index f999ced6..00000000 --- a/test/test_invoice_payment_method.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_payment_method import InvoicePaymentMethod - - -class TestInvoicePaymentMethod(unittest.TestCase): - """InvoicePaymentMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoicePaymentMethod(self): - """Test InvoicePaymentMethod""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoicePaymentMethod() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_invoice_status.py b/test/test_invoice_status.py deleted file mode 100644 index 6487d319..00000000 --- a/test/test_invoice_status.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.invoice_status import InvoiceStatus - - -class TestInvoiceStatus(unittest.TestCase): - """InvoiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testInvoiceStatus(self): - """Test InvoiceStatus""" - # FIXME: construct object with mandatory attributes with example values - # model = InvoiceStatus() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_notification_channel.py b/test/test_notification_channel.py deleted file mode 100644 index f3682738..00000000 --- a/test/test_notification_channel.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.notification_channel import NotificationChannel - - -class TestNotificationChannel(unittest.TestCase): - """NotificationChannel unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNotificationChannel(self): - """Test NotificationChannel""" - # FIXME: construct object with mandatory attributes with example values - # model = NotificationChannel() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_notification_preference.py b/test/test_notification_preference.py deleted file mode 100644 index 0eb96890..00000000 --- a/test/test_notification_preference.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.notification_channel import NotificationChannel -globals()['NotificationChannel'] = NotificationChannel -from xendit.invoice.model.notification_preference import NotificationPreference - - -class TestNotificationPreference(unittest.TestCase): - """NotificationPreference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testNotificationPreference(self): - """Test NotificationPreference""" - # FIXME: construct object with mandatory attributes with example values - # model = NotificationPreference() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_paylater.py b/test/test_paylater.py deleted file mode 100644 index 365301ea..00000000 --- a/test/test_paylater.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.paylater_type import PaylaterType -globals()['PaylaterType'] = PaylaterType -from xendit.invoice.model.paylater import Paylater - - -class TestPaylater(unittest.TestCase): - """Paylater unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaylater(self): - """Test Paylater""" - # FIXME: construct object with mandatory attributes with example values - # model = Paylater() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_paylater_type.py b/test/test_paylater_type.py deleted file mode 100644 index 2a3a8a94..00000000 --- a/test/test_paylater_type.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.paylater_type import PaylaterType - - -class TestPaylaterType(unittest.TestCase): - """PaylaterType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPaylaterType(self): - """Test PaylaterType""" - # FIXME: construct object with mandatory attributes with example values - # model = PaylaterType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_payout.py b/test/test_payout.py deleted file mode 100644 index 7def3b20..00000000 --- a/test/test_payout.py +++ /dev/null @@ -1,38 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.create_payout_request import CreatePayoutRequest -from xendit.payout.model.digital_payout_channel_properties import DigitalPayoutChannelProperties -from xendit.payout.model.payout_all_of import PayoutAllOf -from xendit.payout.model.receipt_notification import ReceiptNotification -globals()['CreatePayoutRequest'] = CreatePayoutRequest -globals()['DigitalPayoutChannelProperties'] = DigitalPayoutChannelProperties -globals()['PayoutAllOf'] = PayoutAllOf -globals()['ReceiptNotification'] = ReceiptNotification -from xendit.payout.model.payout import Payout - - -class TestPayout(unittest.TestCase): - """Payout unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPayout(self): - """Test Payout""" - # FIXME: construct object with mandatory attributes with example values - # model = Payout() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_payout_all_of.py b/test/test_payout_all_of.py deleted file mode 100644 index 79dcd053..00000000 --- a/test/test_payout_all_of.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.payout_all_of import PayoutAllOf - - -class TestPayoutAllOf(unittest.TestCase): - """PayoutAllOf unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testPayoutAllOf(self): - """Test PayoutAllOf""" - # FIXME: construct object with mandatory attributes with example values - # model = PayoutAllOf() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_qr_code.py b/test/test_qr_code.py deleted file mode 100644 index cf770f56..00000000 --- a/test/test_qr_code.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.qr_code_type import QrCodeType -globals()['QrCodeType'] = QrCodeType -from xendit.invoice.model.qr_code import QrCode - - -class TestQrCode(unittest.TestCase): - """QrCode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testQrCode(self): - """Test QrCode""" - # FIXME: construct object with mandatory attributes with example values - # model = QrCode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_qr_code_type.py b/test/test_qr_code_type.py deleted file mode 100644 index 31eac111..00000000 --- a/test/test_qr_code_type.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.qr_code_type import QrCodeType - - -class TestQrCodeType(unittest.TestCase): - """QrCodeType unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testQrCodeType(self): - """Test QrCodeType""" - # FIXME: construct object with mandatory attributes with example values - # model = QrCodeType() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_receipt_notification.py b/test/test_receipt_notification.py deleted file mode 100644 index 19fb90e0..00000000 --- a/test/test_receipt_notification.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.0.0 -""" - - -import sys -import unittest - -import xendit -from xendit.payout.model.receipt_notification import ReceiptNotification - - -class TestReceiptNotification(unittest.TestCase): - """ReceiptNotification unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testReceiptNotification(self): - """Test ReceiptNotification""" - # FIXME: construct object with mandatory attributes with example values - # model = ReceiptNotification() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_retail_outlet.py b/test/test_retail_outlet.py deleted file mode 100644 index 619ec52f..00000000 --- a/test/test_retail_outlet.py +++ /dev/null @@ -1,32 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.retail_outlet_name import RetailOutletName -globals()['RetailOutletName'] = RetailOutletName -from xendit.invoice.model.retail_outlet import RetailOutlet - - -class TestRetailOutlet(unittest.TestCase): - """RetailOutlet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRetailOutlet(self): - """Test RetailOutlet""" - # FIXME: construct object with mandatory attributes with example values - # model = RetailOutlet() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_retail_outlet_name.py b/test/test_retail_outlet_name.py deleted file mode 100644 index fa80cbe6..00000000 --- a/test/test_retail_outlet_name.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.retail_outlet_name import RetailOutletName - - -class TestRetailOutletName(unittest.TestCase): - """RetailOutletName unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testRetailOutletName(self): - """Test RetailOutletName""" - # FIXME: construct object with mandatory attributes with example values - # model = RetailOutletName() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_unauthorized_error.py b/test/test_unauthorized_error.py deleted file mode 100644 index 06f6b296..00000000 --- a/test/test_unauthorized_error.py +++ /dev/null @@ -1,30 +0,0 @@ -""" - The version of the XENDIT API: 1.5.0 -""" - - -import sys -import unittest - -import xendit -from xendit.invoice.model.unauthorized_error import UnauthorizedError - - -class TestUnauthorizedError(unittest.TestCase): - """UnauthorizedError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testUnauthorizedError(self): - """Test UnauthorizedError""" - # FIXME: construct object with mandatory attributes with example values - # model = UnauthorizedError() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/utils/__init__.py b/test/utils/__init__.py new file mode 100644 index 00000000..e69de29b