changeset 2c69bb1af70a in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset;node=2c69bb1af70a
description:
Add generic test for check erase party
issue9895
review324571002
diffstat:
tests/test_stock.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r 72bbecdfb56d -r 2c69bb1af70a tests/test_stock.py
--- a/tests/test_stock.py Sat Dec 05 11:51:29 2020 +0100
+++ b/tests/test_stock.py Sat Dec 05 11:53:49 2020 +0100
@@ -16,10 +16,11 @@
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