From d9a3795a15b0bb0e2d7d49457d97c37f40695e98 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Sat, 18 Sep 2010 14:40:29 +0000
Subject: [PATCH] soon enough, this check will not make sense anymore: with
 portal types as classes, any newTempXXX call will require a portal_types/XXX
 Base Type to exist

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38468 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testBase.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/product/ERP5/tests/testBase.py b/product/ERP5/tests/testBase.py
index 1446028629..7b2c474ed9 100644
--- a/product/ERP5/tests/testBase.py
+++ b/product/ERP5/tests/testBase.py
@@ -664,14 +664,11 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
                                    sequence_list=None, **kw):
     """
     Check the portal type of the object_instance.
-    Check that the portal type does not exist.
     """
     object_instance = sequence.get('object_instance')
     object_instance.getPortalType()
     self.assertEquals(self.temp_class,
                       object_instance.getPortalType())
-    self.assertFalse(self.temp_class in \
-                       object_instance.portal_types.listContentTypes())
 
   def stepSetObjectDefinedProperty(self, sequence=None, 
                                       sequence_list=None, **kw):
-- 
2.30.9