Files
tryton/modules/account_be/tests/test_module.py
T

22 lines
688 B
Python
Raw Normal View History

2015-01-27 22:43:36 +01:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2021-10-03 00:42:46 +02:00
from trytond.modules.account.tests import create_chart
2021-12-11 17:58:41 +01:00
from trytond.modules.company.tests import create_company, set_company
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
2015-01-27 22:43:36 +01:00
class AccountBETestCase(ModuleTestCase):
'Test Account BE module'
module = 'account_be'
2020-09-18 00:06:31 +02:00
language = 'fr'
2015-01-27 22:43:36 +01:00
2021-10-03 00:42:46 +02:00
@with_transaction()
def test_create_chart(self):
company = create_company()
with set_company(company):
create_chart(company, chart=self.module + '.root_' + self.language)
2015-01-27 22:43:36 +01:00
del ModuleTestCase