Files
odoo_source/addons/payment_mollie/tests/common.py
T
Antoine Vandevenne (anv) c29d94a6e8 [IMP] payment_*: reuse the common reference in test data
closes odoo/odoo#84385

X-original-commit: 0482826b77939d326fd8519ba888aacd3afa2e99
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
2022-02-11 11:40:23 +00:00

22 lines
615 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, chart_template_ref=None):
super().setUpClass(chart_template_ref=chart_template_ref)
cls.mollie = cls._prepare_acquirer('mollie', update_values={
'mollie_api_key': 'dummy',
})
cls.acquirer = cls.mollie
cls.currency = cls.currency_euro
cls.notification_data = {
'ref': cls.reference,
'id': 'tr_ABCxyz0123',
}