Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
4434 Weergaven


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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jun. 20
6706
2
mrt. 15
4560
1
mrt. 23
2623
0
jun. 21
3028
0
sep. 16
3658