From e893c1be2b8be3b2a56cfdc7db0b56597fdea908 Mon Sep 17 00:00:00 2001 From: Frederik Jaeckel Date: Tue, 4 Apr 2023 12:58:00 +0200 Subject: [PATCH] upgrade to Tryton 6.6 --- setup.py | 3 ++- tests/test_edocument.py | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index fa1f0fa..b0df333 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 = 6 requires = [] for dep in info.get('depends', []): @@ -87,6 +87,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 xrechnung edcoument', diff --git a/tests/test_edocument.py b/tests/test_edocument.py index c2cdad8..aa6c8ad 100644 --- a/tests/test_edocument.py +++ b/tests/test_edocument.py @@ -5,7 +5,7 @@ from trytond.tests.test_tryton import ModuleTestCase, with_transaction from trytond.pool import Pool -from trytond.modules.edocument_uncefact.tests.test_edocument_uncefact import get_invoice +from trytond.modules.edocument_uncefact.tests.test_module import get_invoice from unittest.mock import Mock, MagicMock from decimal import Decimal @@ -51,3 +51,5 @@ class EdocTestCase(ModuleTestCase): fhdl.write(invoice_string.decode('utf8')) # end EdocTestCase + +del ModuleTestCase