Skip to content

Commit

Permalink
Update tests suite
Browse files Browse the repository at this point in the history
  • Loading branch information
abernardi committed Dec 26, 2018
1 parent 58e6c97 commit bce6d68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.

try:
from trytond.modules.account_invoice_ar.tests.tests import suite
except ImportError:
Expand Down
7 changes: 5 additions & 2 deletions tests/tests.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import unittest
import trytond.tests.test_tryton

from trytond.tests.test_tryton import ModuleTestCase
from trytond.tests.test_tryton import suite as test_suite


class TestCase(ModuleTestCase):
Expand All @@ -9,7 +12,7 @@ class TestCase(ModuleTestCase):


def suite():
suite = trytond.tests.test_tryton.suite()
suite = test_suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
TestCase))
return suite

0 comments on commit bce6d68

Please sign in to comment.