From 28c3b66569536fac5a36ad175954fc19df94a3cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 12 Sep 2026 00:25:24 +0200 Subject: [PATCH] Remove duplicate activation of stock_package module in stock shipment measurements test case --- modules/stock_shipment_measurements/tests/test_module.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/stock_shipment_measurements/tests/test_module.py b/modules/stock_shipment_measurements/tests/test_module.py index 00b301e2e3..4477723d84 100644 --- a/modules/stock_shipment_measurements/tests/test_module.py +++ b/modules/stock_shipment_measurements/tests/test_module.py @@ -6,8 +6,7 @@ from decimal import Decimal 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 @@ class StockShipmentMeasurementsTestCase(CompanyTestMixin, ModuleTestCase): 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"