payment_demo/tests/common.py

19 lines
471 B
Python
Raw Normal View History

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.payment.tests.common import PaymentCommon
class PaymentDemoCommon(PaymentCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.provider = cls._prepare_provider(code='demo')
cls.notification_data = {
'reference': cls.reference,
'payment_details': '1234',
'simulated_state': 'done',
}