Ir al contenido
Menú
Se marcó esta pregunta
4383 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
6650
2
mar 15
4529
1
mar 23
2570
0
jun 21
2983
0
sept 16
3642