Skip to Content
Menú
This question has been flagged
4302 Vistes


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
Related Posts Respostes Vistes Activitat
2
de juny 20
6486
2
de març 15
4410
1
de març 23
2480
0
de juny 21
2870
0
de set. 16
3571