Commit a4ff1074 authored by Yusei Tahara's avatar Yusei Tahara

CRM ingestion system must work without DMS.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19926 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 14d10fda
...@@ -160,25 +160,19 @@ class TestCRM(ERP5TypeTestCase): ...@@ -160,25 +160,19 @@ class TestCRM(ERP5TypeTestCase):
class TestCRMMailIngestion(ERP5TypeTestCase): class TestCRMMailIngestion(ERP5TypeTestCase):
"""Test Mail Ingestion for CRM. """Test Mail Ingestion for standalone CRM.
""" """
def getBusinessTemplateList(self): def getBusinessTemplateList(self):
# In this test, We will attach some document portal types in event. # Mail Ingestion must work with CRM alone.
# So we add DMS and Web. return ('erp5_base',
return ('erp5_base', 'erp5_crm', 'erp5_web', 'erp5_ingestion',
'erp5_dms_mysql_innodb_catalog', 'erp5_dms') 'erp5_ingestion_mysql_innodb_catalog', 'erp5_crm',
)
def afterSetUp(self): def afterSetUp(self):
portal = self.portal portal = self.portal
# XXX this should not be necessary either
# set prefered file name regular expression
pref = portal.portal_preferences.default_site_preference
pref.setPreferredDocumentFileNameRegularExpression('.*')
pref.setPreferredDocumentReferenceRegularExpression('.*')
pref.enable()
# XXX do this in ERP5Site.py ? # XXX do this in ERP5Site.py ?
# sets up content type registry # sets up content type registry
ctr = self.portal.content_type_registry ctr = self.portal.content_type_registry
......
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