[Erp5-report] r25538 - /erp5/trunk/products/ERP5/tests/testAccounting.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 12 11:25:41 CET 2009
Author: kazuhiko
Date: Thu Feb 12 11:25:37 2009
New Revision: 25538
URL: http://svn.erp5.org?rev=25538&view=rev
Log:
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.
Modified:
erp5/trunk/products/ERP5/tests/testAccounting.py
Modified: erp5/trunk/products/ERP5/tests/testAccounting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccounting.py?rev=25538&r1=25537&r2=25538&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccounting.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccounting.py [utf8] Thu Feb 12 11:25:37 2009
@@ -236,7 +236,7 @@
# 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 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 @@
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()
More information about the Erp5-report
mailing list