From 6d79088b460ad56cb4446a385496d0ba720049d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Tue, 2 Sep 2008 14:51:03 +0000 Subject: [PATCH] manage_addERP5Site does not accept erp5_sql_transactionless_connection_string argument git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23352 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/ERP5TypeTestCase.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/product/ERP5Type/tests/ERP5TypeTestCase.py b/product/ERP5Type/tests/ERP5TypeTestCase.py index 1e9510e56e..f481687a65 100644 --- a/product/ERP5Type/tests/ERP5TypeTestCase.py +++ b/product/ERP5Type/tests/ERP5TypeTestCase.py @@ -622,6 +622,10 @@ class ERP5TypeTestCase(PortalTestCase): ZopeTestCase._print('Adding %s ERP5 Site ... ' % portal_name) extra_constructor_kw = _getConnectionStringDict() + # manage_addERP5Site does not accept + # erp5_sql_transactionless_connection_string argument + extra_constructor_kw.pop( + 'erp5_sql_transactionless_connection_string', None) email_from_address = os.environ.get('email_from_address') if email_from_address is not None: extra_constructor_kw['email_from_address'] = email_from_address -- 2.30.9