Migrate to 6.4

This commit is contained in:
José Miguel Pardo Salar 2022-11-24 10:49:40 +01:00
parent b53c2d499d
commit fa2e4a7ab9
6 changed files with 19 additions and 34 deletions

View File

@ -122,7 +122,4 @@ setup(name=name,
[trytond.modules]
account_invoice_line_sale_info = trytond.modules.account_invoice_line_sale_info
""",
test_suite='tests',
test_loader='trytond.test_loader:Loader',
tests_require=tests_require,
)

View File

@ -1,5 +1,2 @@
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from .test_account_invoice_line_sale_info import suite
__all__ = ['suite']

View File

@ -1,27 +0,0 @@
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
import unittest
import doctest
from trytond.tests.test_tryton import ModuleTestCase
from trytond.tests.test_tryton import suite as test_suite
from trytond.tests.test_tryton import doctest_teardown
from trytond.tests.test_tryton import doctest_checker
class AccountInvoiceLineSaleInfoTestCase(ModuleTestCase):
"""Test Account Invoice Line Sale Info module"""
module = 'account_invoice_line_sale_info'
def suite():
suite = test_suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
AccountInvoiceLineSaleInfoTestCase))
suite.addTests(doctest.DocFileSuite(
'scenario_account_invoice_line_sale_info.rst',
tearDown=doctest_teardown, encoding='utf-8',
checker=doctest_checker,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite

11
tests/test_module.py Normal file
View File

@ -0,0 +1,11 @@
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.tests.test_tryton import ModuleTestCase
class AccountInvoiceLineSaleInfoTestCase(ModuleTestCase):
"""Test Account Invoice Line Sale Info module"""
module = 'account_invoice_line_sale_info'
del ModuleTestCase

7
tests/test_scenario.py Normal file
View File

@ -0,0 +1,7 @@
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.tests.test_tryton import load_doc_tests
def load_tests(*args, **kwargs):
return load_doc_tests(__name__, __file__, *args, **kwargs)

View File

@ -1,5 +1,5 @@
[tryton]
version=6.0.0
version=6.4.0
depends:
ir
res