Commit 5aa7c434 authored by Yusei Tahara's avatar Yusei Tahara

Remove content_type_registry setup.

erp5_core will provide good enough set by default.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20065 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent faca0a46
......@@ -177,15 +177,6 @@ class TestCRMMailIngestion(ERP5TypeTestCase):
def afterSetUp(self):
portal = self.portal
# XXX do this in ERP5Site.py ?
# sets up content type registry
ctr = self.portal.content_type_registry
if ctr.getPredicate('mail_message') is None:
ctr.addPredicate('mail_message', 'extension')
ctr.getPredicate('mail_message').edit(extensions='eml')
ctr.assignTypeName('mail_message', 'Mail Message')
ctr.reorderPredicate('mail_message', 0)
# create customer organisation and person
if 'customer' not in portal.organisation_module.objectIds():
portal.organisation_module.newContent(
......
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