Add extras modules to ModuleTestCase

issue7935
review50661002
This commit is contained in:
Cédric Krier
2019-01-17 17:22:22 +01:00
parent 9a4b6b623b
commit 690e588f17
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -51,6 +51,7 @@ for dep in info.get('depends', []):
requires.append(get_require_version('trytond_%s' % dep))
requires.append(get_require_version('trytond'))
tests_require = [get_require_version('trytond_account_dunning')]
dependency_links = []
if minor_version % 2:
dependency_links.append('https://trydevpi.tryton.org/')
@@ -118,4 +119,5 @@ setup(name=name,
""",
test_suite='tests',
test_loader='trytond.test_loader:Loader',
tests_require=tests_require,
)
+1
View File
@@ -15,6 +15,7 @@ from trytond.modules.account.tests import create_chart, get_fiscalyear
class AccountCreditLimitTestCase(ModuleTestCase):
'Test AccountCreditLimit module'
module = 'account_credit_limit'
extras = ['account_dunning']
@with_transaction()
def test_check_credit_limit(self):