From 649968db2ab7a1587bd4ee5646af5be95b4096af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 5 Dec 2020 11:53:49 +0100 Subject: [PATCH] Add generic test for check erase party issue9895 review324571002 --- tests/test_stock.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_stock.py b/tests/test_stock.py index 59c414140e..c9629a6cdf 100644 --- a/tests/test_stock.py +++ b/tests/test_stock.py @@ -16,10 +16,11 @@ from trytond.transaction import Transaction from trytond.exceptions import UserWarning, UserError from trytond.pool import Pool -from trytond.modules.company.tests import create_company, set_company +from trytond.modules.company.tests import ( + create_company, set_company, PartyCompanyCheckEraseMixin) -class StockTestCase(ModuleTestCase): +class StockTestCase(PartyCompanyCheckEraseMixin, ModuleTestCase): 'Test Stock module' module = 'stock' longMessage = True