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 datetime import date
@ -11,10 +11,9 @@ from decimal import Decimal
from unittest.mock import MagicMock
class BookingWizardTestCase(ModuleTestCase):
'Test cashbook booking wizard module'
module = 'cashbook'
class BookingWizardTestCase(object):
""" test booking wizard
"""
@with_transaction()
def test_bookwiz_expense(self):
""" run booking-wizard to store expense