From 7b77f23890a9b3ce2a583e012d91043a29cf327c Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Tue, 28 Dec 2010 23:11:47 +0000 Subject: [PATCH] run_test_suite: make expansion of sql connection strings stable git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41847 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/bin/run_test_suite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/bin/run_test_suite b/product/ERP5/bin/run_test_suite index 7076d9a1f9..3aead7d929 100755 --- a/product/ERP5/bin/run_test_suite +++ b/product/ERP5/bin/run_test_suite @@ -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:]) -- 2.30.9