Commit 834bc9ec authored by Jérome Perrin's avatar Jérome Perrin

experimental for dwh in test

parent 81f093ca
......@@ -1210,6 +1210,11 @@ class ObjectTemplateItem(BaseTemplateItem):
'could not restore %r in %r' % (subobject_id, obj))
if obj.meta_type in ('Z SQL Method',):
fixZSQLMethod(portal, obj)
elif obj.meta_type in ('Z MySQL Database Connection', ):
from Products.ERP5Type.tests.utils import getExtraSqlConnectionStringList
if obj.id == 'gkr_dwh_connection':
obj.edit('', getExtraSqlConnectionStringList()[0])
# XXX experimental
# portal transforms specific initialization
elif obj.meta_type in ('Transform', 'TransformsChain'):
assert container.meta_type == 'Portal Transforms'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment