Files
odoo_source/addons/payment_payumoney/tests/common.py
T
Kevin Baptiste b14ce986ce [REF] payment_payumoney: migrate PayU money to the new payment API
See the merge commit for more details.

task-2333039
2021-03-30 09:25:51 +02:00

19 lines
552 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.payment.tests.common import PaymentCommon
class PayumoneyCommon(PaymentCommon):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.payumoney = cls._prepare_acquirer('payumoney', update_values={
'payumoney_merchant_key': 'dummy',
'payumoney_merchant_salt': 'dummy',
})
# Override default values
cls.acquirer = cls.payumoney
cls.currency = cls._prepare_currency('INR')