[Erp5-report] r41847 jm - /erp5/trunk/products/ERP5/bin/run_test_suite
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Dec 29 00:11:47 CET 2010
Author: jm
Date: Wed Dec 29 00:11:47 2010
New Revision: 41847
URL: http://svn.erp5.org?rev=41847&view=rev
Log:
run_test_suite: make expansion of sql connection strings stable
Modified:
erp5/trunk/products/ERP5/bin/run_test_suite
Modified: erp5/trunk/products/ERP5/bin/run_test_suite
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bin/run_test_suite?rev=41847&r1=41846&r2=41847&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bin/run_test_suite [utf8] (original)
+++ erp5/trunk/products/ERP5/bin/run_test_suite [utf8] Wed Dec 29 00:11:47 2010
@@ -244,7 +244,7 @@ class ERP5TypeTestSuite(TestSuite):
def runUnitTest(self, *args, **kw):
if self.instance:
args = ('--instance_home=unit_test.%u' % self.instance,) + args
- mysql_db_list = [string.Template(x).substitute(I=self.instance or '')
+ mysql_db_list = [string.Template(x).substitute(I=self.instance or '1')
for x in self.mysql_db_list]
if len(mysql_db_list) > 1:
kw['extra_sql_connection_string_list'] = ','.join(mysql_db_list[1:])
More information about the Erp5-report
mailing list