changeset c3a61e0da3f1 in modules/account_invoice:default
details: 
https://hg.tryton.org/modules/account_invoice?cmd=changeset;node=c3a61e0da3f1
description:
        Add generic test for check erase party

        issue9895
        review324571002
diffstat:

 tests/test_account_invoice.py |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 10432068832f -r c3a61e0da3f1 tests/test_account_invoice.py
--- a/tests/test_account_invoice.py     Mon Nov 02 15:44:51 2020 +0100
+++ b/tests/test_account_invoice.py     Sat Dec 05 11:53:48 2020 +0100
@@ -10,8 +10,10 @@
 from trytond.tests.test_tryton import doctest_checker
 from trytond.pool import Pool
 
+from trytond.modules.company.tests import PartyCompanyCheckEraseMixin
+from trytond.modules.currency.tests import create_currency
+
 from ..exceptions import PaymentTermValidationError
-from trytond.modules.currency.tests import create_currency
 
 
 def set_invoice_sequences(fiscalyear):
@@ -33,7 +35,7 @@
     return fiscalyear
 
 
-class AccountInvoiceTestCase(ModuleTestCase):
+class AccountInvoiceTestCase(PartyCompanyCheckEraseMixin, ModuleTestCase):
     'Test AccountInvoice module'
     module = 'account_invoice'
 

Reply via email to