diff --git a/tests/__init__.py b/tests/__init__.py index 5ef03f2..1252eff 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. -from .test import suite +from .test_frepple import suite diff --git a/tests/test_frepple.py b/tests/test_frepple.py index 71b7bf3..3e62163 100644 --- a/tests/test_frepple.py +++ b/tests/test_frepple.py @@ -1,13 +1,6 @@ #!/usr/bin/env python # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. -import sys -import os -DIR = os.path.abspath(os.path.normpath(os.path.join(__file__, - '..', '..', '..', '..', '..', 'trytond'))) -if os.path.isdir(DIR): - sys.path.insert(0, os.path.dirname(DIR)) - import unittest import trytond.tests.test_tryton from trytond.tests.test_tryton import test_view, test_depends @@ -36,8 +29,6 @@ class FrePPLeTestCase(unittest.TestCase): def suite(): suite = trytond.tests.test_tryton.suite() - suite.addTests(unittest.TestLoader().loadTestsFromTestCase(FrePPLeTestCase)) + suite.addTests(unittest.TestLoader().loadTestsFromTestCase( + FrePPLeTestCase)) return suite - -if __name__ == '__main__': - unittest.TextTestRunner(verbosity=2).run(suite()) diff --git a/tryton.cfg b/tryton.cfg index 6b4e837..3d1708a 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=3.0.0 +version=3.2.0 depends: production xml: