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


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
6596
2
3月 15
4506
1
3月 23
2544
0
6月 21
2960
0
9月 16
3620