Odoo18-Base/addons/payment_mollie/tests/common.py
2025-01-06 10:57:38 +07:00

22 lines
553 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.payment.tests.common import PaymentCommon
class MollieCommon(PaymentCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.mollie = cls._prepare_provider('mollie', update_values={
'mollie_api_key': 'dummy',
})
cls.provider = cls.mollie
cls.currency = cls.currency_euro
cls.notification_data = {
'ref': cls.reference,
'id': 'tr_ABCxyz0123',
}