Se rendre au contenu
Menu
Cette question a été signalée
4360 Vues


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
Ignorer
Publications associées Réponses Vues Activité
2
juin 20
6597
2
mars 15
4508
1
mars 23
2547
0
juin 21
2960
0
sept. 16
3622