Files
odoo_source/addons/payment_paypal/tests/common.py
T
7b165cd555 [REF] payment_paypal: migrate PayPal to the new payment API
See the merge commit for more details.

task-2333036

Co-authored-by: Antoine Vandevenne <anv@odoo.com>
Co-authored-by: Victor Feyens <vfe@odoo.com>
2021-03-30 09:25:51 +02:00

19 lines
527 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.payment.tests.common import PaymentCommon
class PaypalCommon(PaymentCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.paypal = cls._prepare_acquirer('paypal', update_values={
'paypal_email_account': 'dummy@test.mail.com',
'fees_active': False,
})
# Override default values
cls.acquirer = cls.paypal
cls.currency = cls.currency_euro