Skip to Content
Menu
This question has been flagged
3319 Views


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
Discard
Related Posts Replies Views Activity
2
Jun 20
5423
2
Mar 15
3462
1
Mar 23
1328
0
Jun 21
1838
0
Sep 16
2850