fix tests

This commit is contained in:
Frederik Jaeckel 2023-06-02 21:08:56 +02:00
parent 3467c08895
commit 2cf42eb9f6
7 changed files with 28 additions and 34 deletions

View file

@ -3,7 +3,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 ModuleTestCase, with_transaction
from trytond.tests.test_tryton import with_transaction
from trytond.pool import Pool
from trytond.transaction import Transaction
from trytond.exceptions import UserError
@ -11,10 +11,9 @@ from datetime import date
from decimal import Decimal
class BookTestCase(ModuleTestCase):
'Test cashbook book module'
module = 'cashbook'
class BookTestCase(object):
""" test cashbook
"""
def prep_sequence(self, name='Book Sequ'):
""" create numbering-equence
"""