[Erp5-report] r42976 arnaud.fontaine - /erp5/trunk/products/ERP5/tests/testBusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 3 13:47:36 CET 2011


Author: arnaud.fontaine
Date: Thu Feb  3 13:47:36 2011
New Revision: 42976

URL: http://svn.erp5.org?rev=42976&view=rev
Log:
Fix stepCheckPropertySheetMigration for Zope 2.8

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

Modified: erp5/trunk/products/ERP5/tests/testBusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBusinessTemplate.py?rev=42976&r1=42975&r2=42976&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBusinessTemplate.py [utf8] Thu Feb  3 13:47:36 2011
@@ -2405,7 +2405,7 @@ class TestBusinessTemplate(ERP5TypeTestC
     Check migration of Property Sheets from the Filesystem to ZODB
     """
     property_sheet_tool = self.getPortalObject().portal_property_sheets
-    self.failUnless('UnitTest' in property_sheet_tool)
+    self.failUnless('UnitTest' in property_sheet_tool.objectIds())
 
     property_list = property_sheet_tool.UnitTest.contentValues()
 



More information about the Erp5-report mailing list