From 5ba7aa8686b27f5bebd63b63a02f46e278fda494 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Mon, 31 Jan 2011 13:02:44 +0000 Subject: [PATCH] _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 --- .../ERP5Type/tests/testDynamicClassGeneration.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/product/ERP5Type/tests/testDynamicClassGeneration.py b/product/ERP5Type/tests/testDynamicClassGeneration.py index 64bbbf056e..a80bca74d5 100644 --- a/product/ERP5Type/tests/testDynamicClassGeneration.py +++ b/product/ERP5Type/tests/testDynamicClassGeneration.py @@ -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 -- 2.30.9