diff --git a/addons/payment/tests/__init__.py b/addons/payment/tests/__init__.py index af6b691f0ec..d17e2d6a0f4 100644 --- a/addons/payment/tests/__init__.py +++ b/addons/payment/tests/__init__.py @@ -2,7 +2,7 @@ from . import common from . import http_common +from . import test_account_payment from . import test_flows from . import test_multicompany_flows -from . import test_payments -from . import test_transactions +from . import test_payment_transaction diff --git a/addons/payment/tests/test_payments.py b/addons/payment/tests/test_account_payment.py similarity index 99% rename from addons/payment/tests/test_payments.py rename to addons/payment/tests/test_account_payment.py index a4b26d85e13..31655228e4d 100644 --- a/addons/payment/tests/test_payments.py +++ b/addons/payment/tests/test_account_payment.py @@ -8,7 +8,7 @@ from odoo.addons.payment.tests.common import PaymentCommon @tagged('-at_install', 'post_install') -class TestPayments(PaymentCommon): +class TestAccountPayment(PaymentCommon): def test_no_amount_available_for_refund_when_not_supported(self): self.acquirer.support_refund = False diff --git a/addons/payment/tests/test_transactions.py b/addons/payment/tests/test_payment_transaction.py similarity index 98% rename from addons/payment/tests/test_transactions.py rename to addons/payment/tests/test_payment_transaction.py index 0f205d3d7e4..2b2ba3d627b 100644 --- a/addons/payment/tests/test_transactions.py +++ b/addons/payment/tests/test_payment_transaction.py @@ -6,7 +6,7 @@ from odoo.addons.payment.tests.common import PaymentCommon @tagged('-at_install', 'post_install') -class TestTransactions(PaymentCommon): +class TestPaymentTransaction(PaymentCommon): def test_refunds_count(self): self.acquirer.support_refund = 'full_only' # Should simply not be False