Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4361 Visualizações


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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
2
jun. 20
6598
2
mar. 15
4510
1
mar. 23
2547
0
jun. 21
2961
0
set. 16
3625