Skip to Content
Menú
This question has been flagged
4509 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
6746
2
de març 15
4608
1
de març 23
2669
0
de juny 21
3063
0
de set. 16
3706