Commit 90f0feed authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

using different sets of business templates in several test classes in a single...

using different sets of business templates in several test classes in a single test file is a bad idea because it takes more time and it also makes trouble with --save and --portal_id=xxx options.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25538 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a4c7c670
......@@ -236,7 +236,7 @@ class AccountingTestCase(ERP5TypeTestCase):
# standalone accounting and only installs erp5_accounting_ui_test to have
# some default content created.
return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting',
'erp5_accounting_ui_test')
'erp5_accounting_ui_test', 'erp5_ods_style')
class TestAccounts(AccountingTestCase):
......@@ -1874,10 +1874,6 @@ class TestClosingPeriod(AccountingTestCase):
class TestAccountingExport(AccountingTestCase):
"""Test accounting export features with erp5_ods_style.
"""
def getBusinessTemplateList(self):
return AccountingTestCase.getBusinessTemplateList(self) + (
'erp5_ods_style', )
def test_export_transaction(self):
# test we can export an accounting transaction as ODS
transaction = self._makeOne(lines=(
......@@ -2518,10 +2514,6 @@ class TestAccountingWithSequences(ERP5TypeTestCase):
return ('group/client', 'group/vendor/sub1', 'group/vendor/sub2',
'payment_mode/check', 'region/%s' % self.default_region, )
def getBusinessTemplateList(self):
"""Returns list of BT to be installed."""
return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting', )
def stepTic(self, **kw):
"""Flush activity queue. """
self.tic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment