changeset 7ff4e74ad6f0 in modules/product_price_list_dates:default
details: 
https://hg.tryton.org/modules/product_price_list_dates?cmd=changeset;node=7ff4e74ad6f0
description:
        Add extras modules to ModuleTestCase

        issue7935
        review50661002
diffstat:

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

diffs (23 lines):

diff -r ae01eb762597 -r 7ff4e74ad6f0 setup.py
--- a/setup.py  Tue Jan 08 16:46:13 2019 +0100
+++ b/setup.py  Thu Jan 17 17:22:22 2019 +0100
@@ -51,7 +51,7 @@
         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 -r ae01eb762597 -r 7ff4e74ad6f0 tests/test_product_price_list_dates.py
--- a/tests/test_product_price_list_dates.py    Tue Jan 08 16:46:13 2019 +0100
+++ b/tests/test_product_price_list_dates.py    Thu Jan 17 17:22:22 2019 +0100
@@ -15,6 +15,7 @@
 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()

Reply via email to