|
From: Plone U. T. <plo...@ep...> - 2006-08-01 03:24:37
|
Plone Unit Tests : FAILED (failures=6)
Plone-2.5 Zope-2.9 Python-2.4.3
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope29/test.py -q --config-file etc/zope.conf --path Products/CMFPlone --test-path Products/CMFPlone
Installing CMFCore ... done (1.257s)
Installing CMFDefault ... done (0.299s)
Installing CMFCalendar ... done (0.040s)
Installing CMFTopic ... done (0.013s)
Installing DCWorkflow ... done (0.100s)
Installing CMFActionIcons ... done (0.025s)
Installing CMFQuickInstallerTool ... done (0.089s)
Installing CMFFormController ... done (0.226s)
Installing GroupUserFolder ... done (0.177s)
Installing ZCTextIndex ... done (0.029s)
Installing CMFPlone ... done (2.686s)
Installing Archetypes ... done (0.489s)
Installing ATContentTypes ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/Marshall/handlers/__init__.py:38: UserWarning: libxml2 not available. Unable to register libxml2 based marshallers
warnings.warn('libxml2 not available. Unable to register libxml2 based ' \
done (0.891s)
Installing ATReferenceBrowserWidget ... done (0.018s)
Installing CMFDynamicViewFTI ... done (0.017s)
Installing ExternalEditor ... done (0.028s)
Installing ExtendedPathIndex ... done (0.072s)
Installing ResourceRegistries ... done (0.133s)
Installing SecureMailHost ... done (0.018s)
Installing CMFPlacefulWorkflow ... done (0.048s)
Installing PasswordResetTool ... done (0.072s)
Installing PluggableAuthService ... done (0.030s)
Installing PluginRegistry ... done (0.023s)
Installing PlonePAS ... done (0.028s)
Installing kupu ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/kupu/plone/__init__.py:32: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: kupu
icon="kupu_icon.gif",
done (0.105s)
Installing Five ... done (3.077s)
Adding Plone Site ... /home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFPlone.QuickInstallerTool.QuickInstallerTool.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/PluggableAuthService/plugins/BasePlugin.py:71: DeprecationWarning: isImplementedBy has been renamed to providedBy
return interface.isImplementedBy( self )
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PlonePAS.plugins.cookie_handler.ExtendedCookieAuthHelper.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PlonePAS.plugins.role.GroupAwareRoleManager.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.kupu.plone.plonelibrarytool.PloneKupuLibraryTool.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/Marshall/config.py:33: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead.
LOG('Marshall', level, msg)
done (5.937s)
Installing SiteAccess ... done (0.047s)
testbrowser not found; testbrowser tests skipped
Parsing /home/stefan/autotest/temp/python24-zope29-cmf16-plone25/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.Document.Document.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.File.File.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFCore/TypesTool.py:905: DeprecationWarning: TypeInformation.listContentTypes(by_metatype=1) is deprecated.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_beforeDelete is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
Failure in test testInitialLoginTimeDoesNotChange (tests.testLoggedIn.TestLogin)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/testLoggedIn.py", line 63, in testInitialLoginTimeDoesNotChange
self.assertEqual(DateTime(member.getProperty('login_time')), login_time)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: DateTime('2006/08/01 05:01:33.619 GMT+2') != DateTime('2006/08/01 05:01:32.952 GMT+2')
Failure in test testSearchById (tests.testMembershipTool.TestSearchForMembers)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/testMembershipTool.py", line 447, in testSearchById
self.assertEqual(len(search(name='brubble')), 1)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 3 != 1
Failure in test testSearchByName (tests.testMembershipTool.TestSearchForMembers)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/testMembershipTool.py", line 454, in testSearchByName
self.assertEqual(len(search(name='rubble')), 2)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 3 != 2
Failure in test testSearchByNameAndEmail (tests.testMembershipTool.TestSearchForMembers)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/testMembershipTool.py", line 481, in testSearchByNameAndEmail
self.assertEqual(len(search(name='rubble', email='bedrock')), 1)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 2 != 1
Failure in test testSearchByNameAndLastLoginTime (tests.testMembershipTool.TestSearchForMembers)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/testMembershipTool.py", line 491, in testSearchByNameAndLastLoginTime
self.assertEqual(len(search(name='rubble', last_login_time=DateTime('2002-01-01'))), 2)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 3 != 2
Failure in test testSearchByNameAndLoginBeforeSpecifiedTime (tests.testMembershipTool.TestSearchForMembers)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/testMembershipTool.py", line 501, in testSearchByNameAndLoginBeforeSpecifiedTime
before_specified_time=True)), 1)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: 2 != 1
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFPlone.tests.dummy.DeletedItem.manage_beforeDelete is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFCore/TypesTool.py:278: DeprecationWarning: getActionById() is deprecated and will be removed in CMF 2.0. Please use getActionInfo()['url'] if you need an URL or queryMethodID() if you need a method ID.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29-cmf16-plone25/Products/CMFPlone/tests/messages.txt:2: DeprecationWarning: provideUtility: The testing support code moved from zope.app.tests to zope.app.testing. This reference go away in Zope X3.3.
=================
Ran 1858 tests with 6 failures and 0 errors in 332.613 seconds.
FAILED (failures=6)
|