Commit 5ba7aa86 authored by Nicolas Dumazet's avatar Nicolas Dumazet

_aq_dynamic is about to disappear, this test does not make sense anymore


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42811 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 683d3d67
......@@ -190,21 +190,6 @@ class TestPortalTypeClass(ERP5TypeTestCase):
self.portal.portal_types.resetDynamicDocuments()
newDocument(portal_type='Folder')
def testPropertyGenerationOnTempPortalType(self):
portal = self.portal
temp = portal.organisation_module.newContent('temp_portal_type',
'Organisation',
temp_object=True)
temp.setCorporateName('foobar')
synchronizeDynamicModules(portal, force=True)
# check what is happening if aq_dynamic is called on the
# temp portal type first
accessor = temp._aq_dynamic('getCorporateName')
self.failIfEqual(accessor, None)
self.assertEquals(accessor(), 'foobar')
self.assertEquals(temp.__class__.__module__, 'erp5.temp_portal_type')
def testInterfaces(self):
types_tool = self.portal.portal_types
......
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