From fe6a6e358397e23c553f85e315012bdc19713fb8 Mon Sep 17 00:00:00 2001 From: Leonardo Rochael Almeida <leonardo@nexedi.com> Date: Wed, 11 Aug 2010 12:30:56 +0000 Subject: [PATCH] delegate setting the connection string to the recipe git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37698 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/instance-profiles/testrunner.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildout/instance-profiles/testrunner.cfg b/buildout/instance-profiles/testrunner.cfg index 63b6377257..018c6c3314 100644 --- a/buildout/instance-profiles/testrunner.cfg +++ b/buildout/instance-profiles/testrunner.cfg @@ -27,11 +27,11 @@ mysql_user = root mysql_password = mysql_host = ${configuration:mysql_host} mysql_port = ${configuration:mysql_port} +erp5_sql_connection_string = ${:mysql_database_name}@${configuration:mysql_host}:${configuration:mysql_port} ${:mysql_user} initialization = import os os.environ['PATH'] = ':'.join(['${buildout:data-bin-directory}','${buildout:bin-directory}'] + os.environ.get('PATH','').split(':')) - sys.argv.insert(1, '--erp5_sql_connection_string=${:mysql_database_name}@${configuration:mysql_host}:${configuration:mysql_port} ${:mysql_user}') sys.argv.insert(1, '--conversion_server_port=${configuration:oood_port}') sys.argv.insert(1, '--use_dummy_mail_host') os.environ['REAL_INSTANCE_HOME'] = '${:location}' -- 2.30.9