From 7e5a0ab1d223274548d3150faa7f56561a33cd64 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 3 Jun 2014 11:31:11 +0200 Subject: [PATCH] Increase version to 3.2 and cleanup test --- tests/__init__.py | 2 +- tests/test_frepple.py | 13 ++----------- tryton.cfg | 2 +- 3 files changed, 4 insertions(+), 13 deletions(-) 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: