From 40d3a9e8256718496d0f6ca3d3dc4c4c8a610d77 Mon Sep 17 00:00:00 2001 From: Frederik Jaeckel Date: Tue, 6 Jun 2023 15:56:32 +0200 Subject: [PATCH] Tryton 6.8: test, info --- README.rst | 4 ++-- setup.py | 3 ++- tests/__init__.py | 14 -------------- tests/test_module.py | 6 ++---- tryton.cfg | 2 +- versiondep.txt | 2 +- 6 files changed, 8 insertions(+), 23 deletions(-) diff --git a/README.rst b/README.rst index a7e7424..d10cac7 100644 --- a/README.rst +++ b/README.rst @@ -9,11 +9,11 @@ pip install mds-cashbook-dataexchange Requires ======== -- Tryton 6.0 +- Tryton 6.8 Changes ======= -*6.0.0 - 28.08.2022* +*6.8.2 - 06.06.2023* - init diff --git a/setup.py b/setup.py index a6d57aa..1059e18 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ with open(path.join(here, 'versiondep.txt'), encoding='utf-8') as f: # tryton-version major_version = 6 -minor_version = 0 +minor_version = 8 requires = ['python-slugify'] for dep in info.get('depends', []): @@ -89,6 +89,7 @@ setup(name='%s_%s' % (PREFIX, MODULE), 'License :: OSI Approved :: GNU General Public License (GPL)', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], keywords='tryton cashbook import export', diff --git a/tests/__init__.py b/tests/__init__.py index 9ca41fe..cf7e957 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -2,17 +2,3 @@ # This file is part of the cashbook-module from m-ds for Tryton. # The COPYRIGHT file at the top level of this repository contains the # full copyright notices and license terms. - -import trytond.tests.test_tryton -import unittest - -from .test_module import CashbookExchangeTestCase - -__all__ = ['suite'] - - -def suite(): - suite = trytond.tests.test_tryton.suite() - suite.addTests(unittest.TestLoader().loadTestsFromTestCase( - CashbookExchangeTestCase)) - return suite diff --git a/tests/test_module.py b/tests/test_module.py index a65b349..42fe0a0 100644 --- a/tests/test_module.py +++ b/tests/test_module.py @@ -4,7 +4,6 @@ # full copyright notices and license terms. -from trytond.tests.test_tryton import ModuleTestCase from trytond.modules.cashbook.tests.test_module import CashbookTestCase from .category import CategoryTestCase from .party import PartyTestCase @@ -15,12 +14,11 @@ class CashbookExchangeTestCase( CashbookTestCase, CategoryTestCase, PartyTestCase, - TransactionTestCase, - ModuleTestCase): + TransactionTestCase): 'Test cashbook exchange module' module = 'cashbook_dataexchange' # end CashbookExchangeTestCase -del ModuleTestCase +del CashbookTestCase diff --git a/tryton.cfg b/tryton.cfg index 914e6da..e73c808 100644 --- a/tryton.cfg +++ b/tryton.cfg @@ -1,5 +1,5 @@ [tryton] -version=6.0.1 +version=6.8.2 depends: cashbook xml: diff --git a/versiondep.txt b/versiondep.txt index 1b31d78..56d4ce7 100644 --- a/versiondep.txt +++ b/versiondep.txt @@ -1 +1 @@ -cashbook;6.0.1;6.0.999;mds +cashbook;6.8.28;6.8.999;mds