Ir al contenido
Menú
Se marcó esta pregunta
4416 Vistas


Hello how can I override Odoo general test


@tagged('post_install', '-at_install')
class TestPayment(AccountingTestCase):
this is not working.

import addons.account.tests.test_payment
from addons.account.tests.account_test_classes import AccountingTestCase
from odoo.tests import tagged


@tagged('post_install', '-at_install')
class TestPayment(AccountingTestCase):
def test_full_payment_process(self):
pass

addons.account.tests.test_payment.TestPayment = TestPayment


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
jun 20
6671
2
mar 15
4553
1
mar 23
2614
0
jun 21
3017
0
sept 16
3651