first commit
This commit is contained in:
2
modules/account_syscohada/tests/__init__.py
Normal file
2
modules/account_syscohada/tests/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
Binary file not shown.
Binary file not shown.
28
modules/account_syscohada/tests/test_module.py
Normal file
28
modules/account_syscohada/tests/test_module.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.modules.account.tests import create_chart
|
||||
from trytond.modules.company.tests import create_company, set_company
|
||||
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
|
||||
|
||||
|
||||
class AccountSYSCOHADATestCase(ModuleTestCase):
|
||||
"Test Account SYSCOHADA module"
|
||||
module = 'account_syscohada'
|
||||
language = 'fr'
|
||||
|
||||
@with_transaction()
|
||||
def test_create_chart_2001(self):
|
||||
company = create_company()
|
||||
with set_company(company):
|
||||
create_chart(
|
||||
company, chart=self.module + '.root_2001_' + self.language)
|
||||
|
||||
@with_transaction()
|
||||
def test_create_chart_2016(self):
|
||||
company = create_company()
|
||||
with set_company(company):
|
||||
create_chart(
|
||||
company, chart=self.module + '.root_2016_' + self.language)
|
||||
|
||||
|
||||
del ModuleTestCase
|
||||
Reference in New Issue
Block a user