From 210166d13e1d5b02a3473575af4313235994f2ee Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Thu, 10 May 2007 13:45:23 +0000 Subject: [PATCH] portal_contributions tool is part of erp5_dms bt5. No need to create it manually. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14443 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/tests/testIngestion.py | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/product/ERP5OOo/tests/testIngestion.py b/product/ERP5OOo/tests/testIngestion.py index 3e8cc01adf..e4ed86863b 100644 --- a/product/ERP5OOo/tests/testIngestion.py +++ b/product/ERP5OOo/tests/testIngestion.py @@ -121,22 +121,15 @@ class TestIngestion(ERP5TypeTestCase): def createTools(self): """ - Set up contribution tool and content type registry - - NOTE: portal_contributions is not created yet - by ERP5Site bootstrap. This is why me must create it - here. We also delete it and recreate it in case - it was saved by a previous --save run of the test. - - XXX - what about mimetype registry ? + Set up missing portal_mailin tool. """ # Delete and create portal_contributions - try: - self.portal._delObject('portal_contributions') - except AttributeError: - pass - addTool = self.portal.manage_addProduct['ERP5'].manage_addTool - addTool('ERP5 Contribution Tool', None) + #try: + # self.portal._delObject('portal_contributions') + #except AttributeError: + # pass + #addTool = self.portal.manage_addProduct['ERP5'].manage_addTool + #addTool('ERP5 Contribution Tool', None) # Delete and create portal_mailin try: self.portal._delObject('portal_mailin') -- 2.30.9