summaryrefslogtreecommitdiff
path: root/addons/payment_buckaroo/tests/test_buckaroo.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/payment_buckaroo/tests/test_buckaroo.py')
-rw-r--r--addons/payment_buckaroo/tests/test_buckaroo.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/addons/payment_buckaroo/tests/test_buckaroo.py b/addons/payment_buckaroo/tests/test_buckaroo.py
index 926ac2cf059..c516b7796a4 100644
--- a/addons/payment_buckaroo/tests/test_buckaroo.py
+++ b/addons/payment_buckaroo/tests/test_buckaroo.py
@@ -13,11 +13,12 @@ from odoo.tools import mute_logger
@odoo.tests.tagged('post_install', '-at_install', 'external', '-standard')
class BuckarooCommon(PaymentAcquirerCommon):
- def setUp(self):
- super(BuckarooCommon, self).setUp()
+ @classmethod
+ def setUpClass(cls, chart_template_ref=None):
+ super().setUpClass(chart_template_ref=chart_template_ref)
# get the buckaroo account
- self.buckaroo = self.env.ref('payment.payment_acquirer_buckaroo')
- self.buckaroo.write({
+ cls.buckaroo = cls.env.ref('payment.payment_acquirer_buckaroo')
+ cls.buckaroo.write({
'brq_websitekey': 'dummy',
'brq_secretkey': 'dummy',
'state': 'test',