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

class TestCRM does not need ingestion

selection_index does not make sense in a list mode action



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20108 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd85f6e0
...@@ -44,8 +44,6 @@ def openTestFile(filename): ...@@ -44,8 +44,6 @@ def openTestFile(filename):
class TestCRM(ERP5TypeTestCase): class TestCRM(ERP5TypeTestCase):
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
return ('erp5_base', return ('erp5_base',
'erp5_ingestion',
'erp5_ingestion_mysql_innodb_catalog',
'erp5_crm',) 'erp5_crm',)
def test_Event_CreateRelatedEvent(self): def test_Event_CreateRelatedEvent(self):
...@@ -129,7 +127,6 @@ class TestCRM(ERP5TypeTestCase): ...@@ -129,7 +127,6 @@ class TestCRM(ERP5TypeTestCase):
description='The Event Descr.', description='The Event Descr.',
direction='outgoing', direction='outgoing',
selection_name='person_module_selection', selection_name='person_module_selection',
selection_index=1, # in list mode ?
follow_up='', follow_up='',
text_content='Event Content', text_content='Event Content',
form_id='PersonModule_viewPersonList') form_id='PersonModule_viewPersonList')
...@@ -165,7 +162,6 @@ class TestCRM(ERP5TypeTestCase): ...@@ -165,7 +162,6 @@ class TestCRM(ERP5TypeTestCase):
description='The Event Descr.', description='The Event Descr.',
direction='outgoing', direction='outgoing',
selection_name='person_module_selection', selection_name='person_module_selection',
selection_index=1, # in list mode ?
follow_up='', follow_up='',
text_content='Event Content', text_content='Event Content',
form_id='PersonModule_viewPersonList') form_id='PersonModule_viewPersonList')
...@@ -184,8 +180,6 @@ class TestCRM(ERP5TypeTestCase): ...@@ -184,8 +180,6 @@ class TestCRM(ERP5TypeTestCase):
self.assertEquals(None, pers3.getDestinationRelatedValue( self.assertEquals(None, pers3.getDestinationRelatedValue(
portal_type='Mail Message')) portal_type='Mail Message'))
ERP5Site_getFollowUpItemList = 'TODO'
def test_SaleOpportunitySold(self): def test_SaleOpportunitySold(self):
# test the workflow of sale opportunities, when the sale opportunity is # test the workflow of sale opportunities, when the sale opportunity is
# finaly sold # finaly sold
......
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