Commit 880bda4e authored by wenjie.zheng's avatar wenjie.zheng

ERP5TypeTestCase.py: install erp5_workflow template after finish erp5_base...

ERP5TypeTestCase.py: install erp5_workflow template after finish erp5_base installation to not crash SQL initiation.
parent 3583df23
...@@ -789,7 +789,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin): ...@@ -789,7 +789,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
hot_reindexing = self.enableHotReindexing() hot_reindexing = self.enableHotReindexing()
# install erp5_workflow to allow early stage workflow migration. # install erp5_workflow to allow early stage workflow migration.
for x, y in (("erp5_core_proxy_field_legacy", "erp5_base"), for x, y in (("erp5_core_proxy_field_legacy", "erp5_base"),
("erp5_workflow", "erp5_base"), ("erp5_stock_cache", "erp5_pdm")): ("erp5_stock_cache", "erp5_pdm"),("erp5_workflow", "erp5_pdm")):
if x not in template_list: if x not in template_list:
try: try:
template_list.insert(template_list.index(y), x) template_list.insert(template_list.index(y), x)
......
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