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>
19 lines
527 B
Python
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
|