[Erp5-report] r19926 - /erp5/trunk/products/ERP5/tests/testCRM.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Mar 14 17:42:35 CET 2008
Author: yusei
Date: Fri Mar 14 17:42:35 2008
New Revision: 19926
URL: http://svn.erp5.org?rev=19926&view=rev
Log:
CRM ingestion system must work without DMS.
Modified:
erp5/trunk/products/ERP5/tests/testCRM.py
Modified: erp5/trunk/products/ERP5/tests/testCRM.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testCRM.py?rev=19926&r1=19925&r2=19926&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testCRM.py (original)
+++ erp5/trunk/products/ERP5/tests/testCRM.py Fri Mar 14 17:42:35 2008
@@ -160,24 +160,18 @@
class TestCRMMailIngestion(ERP5TypeTestCase):
- """Test Mail Ingestion for CRM.
+ """Test Mail Ingestion for standalone CRM.
"""
def getBusinessTemplateList(self):
- # In this test, We will attach some document portal types in event.
- # So we add DMS and Web.
- return ('erp5_base', 'erp5_crm', 'erp5_web',
- 'erp5_dms_mysql_innodb_catalog', 'erp5_dms')
+ # Mail Ingestion must work with CRM alone.
+ return ('erp5_base',
+ 'erp5_ingestion',
+ 'erp5_ingestion_mysql_innodb_catalog', 'erp5_crm',
+ )
def afterSetUp(self):
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 ?
# sets up content type registry
More information about the Erp5-report
mailing list