From 5ac5b2ea9624aba2a440a0ee21a10e020e5cc3e7 Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Mon, 9 May 2022 16:24:38 +0000 Subject: [PATCH] [MOV] payment: rename test files `test_payments` -> `test_account_payment` `test_transactions` -> `test_payment_transaction` Task - 2848326 Part-of: odoo/odoo#90716 --- addons/payment/tests/__init__.py | 4 ++-- .../tests/{test_payments.py => test_account_payment.py} | 2 +- .../{test_transactions.py => test_payment_transaction.py} | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename addons/payment/tests/{test_payments.py => test_account_payment.py} (99%) rename addons/payment/tests/{test_transactions.py => test_payment_transaction.py} (98%) 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