changeset 5210773a96e2 in modules/stock_lot_sled:default
details:
https://hg.tryton.org/modules/stock_lot_sled?cmd=changeset&node=5210773a96e2
description:
Check rule only if _check_access is set and enforce companies rule
issue4080
review343891009
diffstat:
tests/test_stock_lot_sled.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (17 lines):
diff -r f147d1316f01 -r 5210773a96e2 tests/test_stock_lot_sled.py
--- a/tests/test_stock_lot_sled.py Wed Feb 03 21:19:06 2021 +0100
+++ b/tests/test_stock_lot_sled.py Sat Apr 10 23:46:24 2021 +0200
@@ -8,10 +8,11 @@
from trytond.transaction import Transaction
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, CompanyTestMixin)
-class StockLotSLEDTestCase(ModuleTestCase):
+class StockLotSLEDTestCase(CompanyTestMixin, ModuleTestCase):
'Test Stock Lot SLED module'
module = 'stock_lot_sled'
longMessage = True