From 5cef7b4d8aff6e8aee2675670fa209d1b22801c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Apr 2021 23:46:23 +0200 Subject: [PATCH] Check rule only if _check_access is set and enforce companies rule issue4080 review343891009 --- tests/test_carrier_weight.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_carrier_weight.py b/tests/test_carrier_weight.py index 1abc711fe8..c04549f04e 100644 --- a/tests/test_carrier_weight.py +++ b/tests/test_carrier_weight.py @@ -9,11 +9,11 @@ from trytond.tests.test_tryton import doctest_teardown from trytond.tests.test_tryton import doctest_checker from trytond.pool import Pool -from trytond.modules.company.tests import CompanyMultiValueTestMixin +from trytond.modules.company.tests import CompanyTestMixin from trytond.modules.currency.tests import create_currency -class CarrierWeightTestCase(CompanyMultiValueTestMixin, ModuleTestCase): +class CarrierWeightTestCase(CompanyTestMixin, ModuleTestCase): 'Test CarrierWeight module' module = 'carrier_weight' extras = ['purchase_shipment_cost', 'sale_shipment_cost']