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

        issue7935
        review50661002
diffstat:

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

diffs (24 lines):

diff -r 67339302ca80 -r ab091904c1b8 setup.py
--- a/setup.py  Tue Jan 08 16:46:14 2019 +0100
+++ b/setup.py  Thu Jan 17 17:22:22 2019 +0100
@@ -51,7 +51,8 @@
         requires.append(get_require_version('trytond_%s' % dep))
 requires.append(get_require_version('trytond'))
 
-tests_require = [get_require_version('proteus')]
+tests_require = [get_require_version('proteus'),
+    get_require_version('trytond_stock_supply')]
 dependency_links = []
 if minor_version % 2:
     dependency_links.append('https://trydevpi.tryton.org/')
diff -r 67339302ca80 -r ab091904c1b8 tests/test_stock_consignment.py
--- a/tests/test_stock_consignment.py   Tue Jan 08 16:46:14 2019 +0100
+++ b/tests/test_stock_consignment.py   Thu Jan 17 17:22:22 2019 +0100
@@ -14,6 +14,7 @@
 class StockConsignmentTestCase(ModuleTestCase):
     'Test Stock Consignment module'
     module = 'stock_consignment'
+    extras = ['stock_supply']
 
 
 def suite():

Reply via email to