Commit dd59fbc9 authored by Jérome Perrin's avatar Jérome Perrin

as far as I see we don't disable reindexing before adding templates


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23341 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 67e75d32
...@@ -651,8 +651,7 @@ class ERP5TypeTestCase(PortalTestCase): ...@@ -651,8 +651,7 @@ class ERP5TypeTestCase(PortalTestCase):
update_business_templates = os.environ.get('update_business_templates') is not None update_business_templates = os.environ.get('update_business_templates') is not None
BusinessTemplate_getModifiedObject = aq_base(getattr(portal, 'BusinessTemplate_getModifiedObject', None)) BusinessTemplate_getModifiedObject = aq_base(getattr(portal, 'BusinessTemplate_getModifiedObject', None))
# Disable reindexing before adding templates # Add some business templates
# VERY IMPORTANT: Add some business templates
for url, bt_title in business_template_list: for url, bt_title in business_template_list:
start = time.time() start = time.time()
get_install_kw = False get_install_kw = False
......
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