prepare test for porting

This commit is contained in:
Frederik Jaeckel 2023-06-02 20:40:12 +02:00
parent 619a17bcd6
commit 3467c08895
16 changed files with 690 additions and 373 deletions

View file

@ -4,36 +4,12 @@
import trytond.tests.test_tryton
import unittest
from trytond.modules.cashbook.tests.test_type import TypeTestCase
from trytond.modules.cashbook.tests.test_book import BookTestCase
from trytond.modules.cashbook.tests.test_line import LineTestCase
from trytond.modules.cashbook.tests.test_splitline import SplitLineTestCase
from trytond.modules.cashbook.tests.test_config import ConfigTestCase
from trytond.modules.cashbook.tests.test_category import CategoryTestCase
from trytond.modules.cashbook.tests.test_reconciliation import ReconTestCase
from trytond.modules.cashbook.tests.test_bookingwiz import BookingWizardTestCase
from trytond.modules.cashbook.tests.test_currency import CurrencyTestCase
from .test_module import CashbookTestCase
__all__ = ['suite']
class CashbookTestCase(\
CurrencyTestCase, \
BookingWizardTestCase,\
ReconTestCase,\
CategoryTestCase,\
ConfigTestCase,\
LineTestCase,
SplitLineTestCase,
BookTestCase,
TypeTestCase,
):
'Test cashbook module'
module = 'cashbook'
# end CashbookTestCase
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(CashbookTestCase))