Remove duplicate activation of stock_package module in stock shipment measurements test case
This commit is contained in:
1 parent
cdb082f133
commit
28c3b66569
1 file changed
+1
-7
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user