details: https://code.tryton.org/tryton/commit/bdfb8a13dace
branch: default
user: Cédric Krier <[email protected]>
date: Sat Sep 12 00:25:24 2026 +0200
description:
Remove duplicate activation of stock_package module in stock shipment
measurements test case
diffstat:
modules/stock_shipment_measurements/tests/test_module.py | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (25 lines):
diff -r 8a43f3df3d3f -r bdfb8a13dace
modules/stock_shipment_measurements/tests/test_module.py
--- a/modules/stock_shipment_measurements/tests/test_module.py Sat Sep 12
00:24:43 2026 +0200
+++ b/modules/stock_shipment_measurements/tests/test_module.py Sat Sep 12
00:25:24 2026 +0200
@@ -6,8 +6,7 @@
from trytond.modules.company.tests import (
CompanyTestMixin, create_company, set_company)
from trytond.pool import Pool
-from trytond.tests.test_tryton import (
- ModuleTestCase, activate_module, with_transaction)
+from trytond.tests.test_tryton import ModuleTestCase, with_transaction
class StockShipmentMeasurementsTestCase(CompanyTestMixin, ModuleTestCase):
@@ -16,11 +15,6 @@
extras = ['stock_package']
longMessage = True
- @classmethod
- def setUpClass(cls):
- super().setUpClass()
- activate_module('stock_package')
-
@with_transaction()
def test_move_internal_measurements(self):
"Test move internal measurements"