Commit d9a3795a authored by Nicolas Dumazet's avatar Nicolas Dumazet

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
parent 7ebd6f24
...@@ -664,14 +664,11 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -664,14 +664,11 @@ class TestBase(ERP5TypeTestCase, ZopeTestCase.Functional):
sequence_list=None, **kw): sequence_list=None, **kw):
""" """
Check the portal type of the object_instance. Check the portal type of the object_instance.
Check that the portal type does not exist.
""" """
object_instance = sequence.get('object_instance') object_instance = sequence.get('object_instance')
object_instance.getPortalType() object_instance.getPortalType()
self.assertEquals(self.temp_class, self.assertEquals(self.temp_class,
object_instance.getPortalType()) object_instance.getPortalType())
self.assertFalse(self.temp_class in \
object_instance.portal_types.listContentTypes())
def stepSetObjectDefinedProperty(self, sequence=None, def stepSetObjectDefinedProperty(self, sequence=None,
sequence_list=None, **kw): sequence_list=None, **kw):
......
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