changeset 81937d624505 in modules/product_price_list_dates:default
details: 
https://hg.tryton.org/modules/product_price_list_dates?cmd=changeset&node=81937d624505
description:
        Check rule only if _check_access is set and enforce companies rule

        issue4080
        review343891009
diffstat:

 tests/test_product_price_list_dates.py |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r f11458a1c4d6 -r 81937d624505 tests/test_product_price_list_dates.py
--- a/tests/test_product_price_list_dates.py    Sat Dec 19 17:08:46 2020 +0100
+++ b/tests/test_product_price_list_dates.py    Sat Apr 10 23:46:23 2021 +0200
@@ -9,10 +9,11 @@
 from trytond.tests.test_tryton import ModuleTestCase, with_transaction
 from trytond.tests.test_tryton import suite as test_suite
 
-from trytond.modules.company.tests import create_company, set_company
+from trytond.modules.company.tests import (
+    create_company, set_company, CompanyTestMixin)
 
 
-class ProductPriceListDatesTestCase(ModuleTestCase):
+class ProductPriceListDatesTestCase(CompanyTestMixin, ModuleTestCase):
     'Test Product Price List Dates module'
     module = 'product_price_list_dates'
     extras = ['sale_price_list']

Reply via email to