Commit d8167771 authored by Bartek Górny's avatar Bartek Górny

content_type_registry is now provided by business template, so we don't have...

content_type_registry is now provided by business template,  so we don't have to import it from file

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13836 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7b297887
......@@ -151,14 +151,6 @@ class TestIngestion(ERP5TypeTestCase):
addTool('CMF Mail In Tool', None)
mailin = self.portal.portal_mailin
mailin.edit_configuration('Document_ingestEmail')
# XXX content_type_registry is not services by business templating mechanism
# so it has to be exported and placed in ../../../unit_test/import/ director
# we import it here
try:
self.portal._delObject('content_type_registry')
except AttributeError:
pass
self.portal.manage_importObject(file='content_type_registry.zexp')
def createPreferences(self):
default_pref = self.portal.portal_preferences.default_site_preference
......
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