跳至內容
選單
此問題已被標幟
4576 瀏覽次數


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
6884
2
3月 15
4700
1
3月 23
2771
0
6月 21
3161
0
9月 16
3768