Commit 34c5244d authored by Nicolas Dumazet's avatar Nicolas Dumazet

this test passes with the correct types tool path


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40826 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a5ede4b
...@@ -175,7 +175,6 @@ class TestPortalTypeClass(ERP5TypeTestCase): ...@@ -175,7 +175,6 @@ class TestPortalTypeClass(ERP5TypeTestCase):
obj.newContent('file', portal_type) obj.newContent('file', portal_type)
obj.file.aq_base obj.file.aq_base
@expectedFailure
def testBoundMethodCaching(self): def testBoundMethodCaching(self):
"""Test that it is safe to cache a bound method during a transaction """Test that it is safe to cache a bound method during a transaction
...@@ -188,8 +187,8 @@ class TestPortalTypeClass(ERP5TypeTestCase): ...@@ -188,8 +187,8 @@ class TestPortalTypeClass(ERP5TypeTestCase):
Or do we need to reset the fewest classes as possible ? Or do we need to reset the fewest classes as possible ?
""" """
newDocument = self.portal.newContent(self.id(), 'Folder').newContent newDocument = self.portal.newContent(self.id(), 'Folder').newContent
self.portal.portal_type.newContent(portal_type='Base Type', self.portal.portal_types.newContent(portal_type='Base Type',
type_class='Folder') type_class='Folder')
newDocument(portal_type='Folder') newDocument(portal_type='Folder')
def testPropertyGenerationOnTempPortalType(self): def testPropertyGenerationOnTempPortalType(self):
......
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