mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[IMP] account_banking_sepa_credit_transfer: test performance improvement
This commit is contained in:
committed by
Sébastien Alix
parent
c298954a02
commit
d571a0261d
@@ -11,11 +11,14 @@ from lxml import etree
|
||||
from odoo.exceptions import UserError
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT
|
||||
|
||||
|
||||
class TestSCT(TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.env = cls.env(context=dict(cls.env.context, **DISABLED_MAIL_CONTEXT))
|
||||
cls.account_model = cls.env["account.account"]
|
||||
cls.move_model = cls.env["account.move"]
|
||||
cls.journal_model = cls.env["account.journal"]
|
||||
|
||||
Reference in New Issue
Block a user