diff --git a/setup.py b/setup.py index d7d697d023..31dbfe44f6 100755 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ for dep in info.get('depends', []): requires.append(get_require_version('trytond_%s' % dep)) requires.append(get_require_version('trytond')) -tests_require = [] +tests_require = [get_require_version('trytond_sale_price_list')] dependency_links = [] if minor_version % 2: dependency_links.append('https://trydevpi.tryton.org/') diff --git a/tests/test_product_price_list_dates.py b/tests/test_product_price_list_dates.py index 25b079b6de..2f11234d96 100644 --- a/tests/test_product_price_list_dates.py +++ b/tests/test_product_price_list_dates.py @@ -15,6 +15,7 @@ from trytond.modules.company.tests import create_company, set_company class ProductPriceListDatesTestCase(ModuleTestCase): 'Test Product Price List Dates module' module = 'product_price_list_dates' + extras = ['sale_price_list'] def create_price_list(self, field, date): pool = Pool()