跳至内容
菜单
此问题已终结
4317 查看


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


形象
丢弃
相关帖文 回复 查看 活动
2
6月 20
6531
2
3月 15
4459
1
3月 23
2502
0
6月 21
2911
0
9月 16
3600