From ee69f88ec6b54aba8c70490ca44666e73a38a4b5 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Thu, 3 Feb 2011 12:47:36 +0000 Subject: [PATCH] Fix stepCheckPropertySheetMigration for Zope 2.8 git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42976 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testBusinessTemplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py index 3216accbde..89cde38531 100644 --- a/product/ERP5/tests/testBusinessTemplate.py +++ b/product/ERP5/tests/testBusinessTemplate.py @@ -2405,7 +2405,7 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor): 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() -- 2.30.9