Commit 92552919 authored by Aurel's avatar Aurel

unit tests : erp5_trade depends on erp5_pdm, fix bt5list in unit tests

parent f4639fde
......@@ -84,7 +84,7 @@ class TestCMFCategory(ERP5TypeTestCase):
/organisation
"""
return ('erp5_base', 'erp5_trade')
return ('erp5_base', 'erp5_pdm', 'erp5_trade')
def getCategoriesTool(self):
return getattr(self.portal, 'portal_categories', None)
......
......@@ -43,7 +43,7 @@ class TestTradeReports(ERP5ReportTestCase):
def getBusinessTemplateList(self):
"""Returns list of BT to be installed."""
return ('erp5_core_proxy_field_legacy',
'erp5_base', 'erp5_trade', 'erp5_pdm', )
'erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_pdm', )
def login(self):
"""login with Manager roles."""
......
......@@ -37,10 +37,10 @@ from Products.ERP5Type.Utils import getMessageIdWithContext
target_business_templates = (
'erp5_base',
'erp5_simulation',
'erp5_pdm',
'erp5_trade',
'erp5_pdf_editor',
'erp5_pdm',
'erp5_accounting',
'erp5_invoicing',
......
......@@ -355,10 +355,10 @@ class TestXHTML(TestXHTMLMixin):
'erp5_core_proxy_field_legacy',
'erp5_base',
'erp5_simulation',
'erp5_pdm',
'erp5_trade',
'erp5_pdf_editor',
'erp5_pdm',
'erp5_accounting',
'erp5_invoicing',
......
......@@ -47,8 +47,8 @@ class TestZeleniumKM(ERP5TypeFunctionalTestCase):
'erp5_base', 'erp5_ui_test_core', 'erp5_ui_test', 'erp5_forge',
'erp5_dhtml_style', 'erp5_dhtml_ui_test',
'erp5_jquery', 'erp5_jquery_ui',
'erp5_knowledge_pad',
'erp5_trade', 'erp5_pdm', 'erp5_ooo_import',
'erp5_knowledge_pad', 'erp5_pdm',
'erp5_trade', 'erp5_ooo_import',
'erp5_accounting', 'erp5_invoicing',
'erp5_simplified_invoicing', 'erp5_project',
'erp5_simulation', 'erp5_simulation_test',
......
......@@ -52,8 +52,8 @@ class TestZeleniumStandaloneUserTutorial(ERP5TypeFunctionalTestCase):
'erp5_base', 'erp5_ui_test_core', 'erp5_forge',
'erp5_dhtml_style',
'erp5_jquery', 'erp5_jquery_ui',
'erp5_knowledge_pad',
'erp5_trade', 'erp5_pdm', 'erp5_ooo_import',
'erp5_knowledge_pad', 'erp5_pdm',
'erp5_trade', 'erp5_ooo_import',
'erp5_accounting', 'erp5_invoicing',
'erp5_simplified_invoicing', 'erp5_project',
'erp5_simulation',
......
......@@ -45,7 +45,7 @@ class TestXMLMatrix(ERP5TypeTestCase, LogInterceptor):
"""
Return the list of business templates.
"""
return ('erp5_base', 'erp5_trade',)
return ('erp5_base', 'erp5_pdm', 'erp5_trade',)
def getTitle(self):
"""
......
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