Commit 422ac7f9 authored by Sebastien Robin's avatar Sebastien Robin

old proxy fields of erp5_core needed by several tests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43388 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 32f923ab
...@@ -61,7 +61,8 @@ class TestERP5Web(ERP5TypeTestCase): ...@@ -61,7 +61,8 @@ class TestERP5Web(ERP5TypeTestCase):
""" """
Return the list of required business templates. Return the list of required business templates.
""" """
return ('erp5_base', return ('erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_jquery', 'erp5_jquery',
'erp5_web', 'erp5_web',
) )
......
...@@ -74,7 +74,8 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -74,7 +74,8 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional):
""" """
Return the list of required business templates. Return the list of required business templates.
""" """
return ('erp5_base', return ('erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_jquery', 'erp5_jquery',
'erp5_web', 'erp5_web',
'erp5_ingestion', 'erp5_ingestion',
......
...@@ -64,7 +64,8 @@ class TestEditorField(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -64,7 +64,8 @@ class TestEditorField(ERP5TypeTestCase, ZopeTestCase.Functional):
""" """
Return the list of required business templates. Return the list of required business templates.
""" """
return ('erp5_base', return ('erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_web', 'erp5_web',
'erp5_ingestion', 'erp5_ingestion',
'erp5_ingestion_mysql_innodb_catalog', 'erp5_ingestion_mysql_innodb_catalog',
......
...@@ -63,7 +63,8 @@ class TestOrderMixin(SubcontentReindexingWrapper): ...@@ -63,7 +63,8 @@ class TestOrderMixin(SubcontentReindexingWrapper):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
""" """
return ('erp5_base','erp5_pdm', 'erp5_simulation', 'erp5_trade', return ('erp5_core_proxy_field_legacy',
'erp5_base','erp5_pdm', 'erp5_simulation', 'erp5_trade',
'erp5_apparel', 'erp5_project', 'erp5_simulation_test', 'erp5_apparel', 'erp5_project', 'erp5_simulation_test',
'erp5_administration') 'erp5_administration')
......
...@@ -43,7 +43,8 @@ class TestTradeReports(ERP5ReportTestCase): ...@@ -43,7 +43,8 @@ class TestTradeReports(ERP5ReportTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
"""Returns list of BT to be installed.""" """Returns list of BT to be installed."""
return ('erp5_base', 'erp5_trade', 'erp5_pdm', ) return ('erp5_core_proxy_field_legacy',
'erp5_base', 'erp5_trade', 'erp5_pdm', )
def login(self): def login(self):
"""login with Manager roles.""" """login with Manager roles."""
......
...@@ -57,7 +57,8 @@ class TestWebCrawler(ERP5TypeTestCase): ...@@ -57,7 +57,8 @@ class TestWebCrawler(ERP5TypeTestCase):
""" """
Return the list of required business templates. Return the list of required business templates.
""" """
return ('erp5_base', return ('erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_ingestion', 'erp5_ingestion',
'erp5_ingestion_mysql_innodb_catalog', 'erp5_ingestion_mysql_innodb_catalog',
'erp5_web', 'erp5_web',
......
...@@ -460,6 +460,7 @@ class TestListField(ERP5TypeTestCase): ...@@ -460,6 +460,7 @@ class TestListField(ERP5TypeTestCase):
Tuple of Business Templates we need to install Tuple of Business Templates we need to install
""" """
return ( return (
'erp5_core_proxy_field_legacy',
'erp5_base', 'erp5_base',
) )
......
...@@ -65,7 +65,7 @@ class TestListBox(ERP5TypeTestCase): ...@@ -65,7 +65,7 @@ class TestListBox(ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
# Use the same framework as the functional testing for convenience. # Use the same framework as the functional testing for convenience.
# This adds some specific portal types and skins. # This adds some specific portal types and skins.
return ('erp5_ui_test',) return ('erp5_core_proxy_field_legacy', 'erp5_ui_test',)
def getTitle(self): def getTitle(self):
return "ListBox" return "ListBox"
......
...@@ -55,7 +55,8 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -55,7 +55,8 @@ class TestOOoChart(ERP5TypeTestCase, ZopeTestCase.Functional):
return 'Test OOoChart' return 'Test OOoChart'
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return ('erp5_base', return ('erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_ingestion', 'erp5_ingestion',
'erp5_web', 'erp5_web',
'erp5_dms', 'erp5_dms',
......
...@@ -60,7 +60,8 @@ class TestOrderMixin(object): ...@@ -60,7 +60,8 @@ class TestOrderMixin(object):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
""" """
""" """
return ('erp5_base', 'erp5_simulation', 'erp5_simulation_legacy', return ('erp5_core_proxy_field_legacy',
'erp5_base', 'erp5_simulation', 'erp5_simulation_legacy',
'erp5_pdm', 'erp5_trade', 'erp5_apparel', 'erp5_project', 'erp5_pdm', 'erp5_trade', 'erp5_apparel', 'erp5_project',
'erp5_trade_simulation_legacy', 'erp5_project_simulation_legacy', 'erp5_trade_simulation_legacy', 'erp5_project_simulation_legacy',
'erp5_administration') 'erp5_administration')
......
...@@ -82,7 +82,7 @@ class TestIngestion(ERP5TypeTestCase): ...@@ -82,7 +82,7 @@ class TestIngestion(ERP5TypeTestCase):
""" """
Return the list of required business templates. Return the list of required business templates.
""" """
return ('erp5_base', return ('erp5_core_proxy_field_legacy', 'erp5_base',
'erp5_ingestion', 'erp5_ingestion_mysql_innodb_catalog', 'erp5_ingestion', 'erp5_ingestion_mysql_innodb_catalog',
'erp5_web', 'erp5_crm', 'erp5_dms') 'erp5_web', 'erp5_crm', 'erp5_dms')
......
...@@ -47,7 +47,8 @@ class TestOOoStyle(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -47,7 +47,8 @@ class TestOOoStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
content_type = None content_type = None
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return ('erp5_base', 'erp5_ods_style', 'erp5_odt_style',) return ('erp5_core_proxy_field_legacy',
'erp5_base', 'erp5_ods_style', 'erp5_odt_style',)
def afterSetUp(self): def afterSetUp(self):
if not self.skin: if not self.skin:
......
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