From 2c174b9626b344a167c951dd7bc80f0e010dfc86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sat, 10 Apr 2021 23:46:24 +0200 Subject: [PATCH] Check rule only if _check_access is set and enforce companies rule issue4080 review343891009 --- tests/test_purchase_price_list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_purchase_price_list.py b/tests/test_purchase_price_list.py index d391999a2f..22fffdfc62 100644 --- a/tests/test_purchase_price_list.py +++ b/tests/test_purchase_price_list.py @@ -10,10 +10,10 @@ from trytond.tests.test_tryton import suite as test_suite from trytond.tests.test_tryton import doctest_teardown from trytond.tests.test_tryton import doctest_checker -from trytond.modules.company.tests import CompanyMultiValueTestMixin +from trytond.modules.company.tests import CompanyTestMixin -class PurchasePriceListTestCase(CompanyMultiValueTestMixin, ModuleTestCase): +class PurchasePriceListTestCase(CompanyTestMixin, ModuleTestCase): 'Test Purchase Price List module' module = 'purchase_price_list'