[Erp5-report] r38468 nicolas.dumazet - /erp5/trunk/products/ERP5/tests/testBase.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Sep 18 16:40:30 CEST 2010


Author: nicolas.dumazet
Date: Sat Sep 18 16:40:29 2010
New Revision: 38468

URL: http://svn.erp5.org?rev=38468&view=rev
Log:
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

Modified:
    erp5/trunk/products/ERP5/tests/testBase.py

Modified: erp5/trunk/products/ERP5/tests/testBase.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBase.py?rev=38468&r1=38467&r2=38468&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBase.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBase.py [utf8] Sat Sep 18 16:40:29 2010
@@ -664,14 +664,11 @@ class TestBase(ERP5TypeTestCase, ZopeTes
                                    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):




More information about the Erp5-report mailing list