From: Archetypes U. T. <plo...@ep...> - 2006-04-07 03:25:31
|
Archetypes Unit Tests : FAILED (failures=2) AT-1.4 Plone-trunk 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/Archetypes --test-path Products/Archetypes --module !test_cmfessentials /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/PortalTransforms/utils.py:16: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG(id, severity, msg) /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/MimetypesRegistry/MimeTypesRegistry.py:7: DeprecationWarning: Using OFS.content_types is deprecated (will be removed in Zope 2.11). Instead use zope.app.contenttypes. from OFS.content_types import guess_content_type /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/GroupUserFolder/Log.py:151: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. zLOG.LOG("IngeniWeb", zLogLevelConverter[level], "", data + "\n", ) Installing CMFCore ... done (0.019s) Installing CMFDefault ... done (0.045s) Installing CMFCalendar ... done (0.042s) Installing CMFTopic ... done (0.013s) Installing DCWorkflow ... done (0.104s) Installing CMFActionIcons ... done (0.024s) Installing CMFQuickInstallerTool ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/CMFQuickInstallerTool/__init__.py:36: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: QuickInstallerTool icon='tool.gif' done (0.058s) Installing CMFFormController ... done (0.169s) Installing GroupUserFolder ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/GroupUserFolder/__init__.py:99: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: GroupUserFolder , icon="tool.gif" done (0.020s) Installing ZCTextIndex ... done (0.015s) Installing CMFPlone ... done (0.258s) Installing Archetypes ... done (0.414s) Installing ATContentTypes ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/Marshall/Extensions/Install.py:7: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead. from Products.CMFCore.CMFCorePermissions import View /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/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.730s) Installing ATReferenceBrowserWidget ... done (0.017s) Installing CMFDynamicViewFTI ... done (0.017s) Installing ExternalEditor ... /home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Application.py:835: DeprecationWarning: __init__.py of Products.ExternalEditor has a long deprecated 'methods' attribute. 'methods' will be ignored by install_product in Zope 2.10. Please use registerClass instead. DeprecationWarning) done (0.026s) Installing ExtendedPathIndex ... done (0.030s) Installing ResourceRegistries ... done (0.083s) Installing SecureMailHost ... done (0.019s) Installing kupu ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/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.052s) Installing Five ... done (1.770s) Installing CMFPlacefulWorkflow ... /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/CMFPlacefulWorkflow/Log.py:151: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. zLOG.LOG("IngeniWeb", zLogLevelConverter[level], "", data + "\n", ) done (0.071s) Installing PasswordResetTool ... done (0.030s) Installing PluggableAuthService ... done (0.030s) Installing PluginRegistry ... done (0.023s) Installing PlonePAS ... done (0.029s) 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.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.PortalTransforms.TransformEngine.TransformTool.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.CMFFormController.FSControllerPageTemplate.FSControllerPageTemplate.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-at14/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/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) /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/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.368s) Adding CMFFormController ... done (0.002s) Adding Archetypes ... done (0.116s) Failed to import ZPsycopgDA Failed to import ZMySQLDA Parsing /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/etc/zope.conf Running unit tests: /home/stefan/autotest/temp/python24-zope29-cmf16-plone25-at14/Products/Archetypes/debug.py:167: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead. LOG(PKG_NAME, level, msg) /home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.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: tests.test_annotation.AnnDummy.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) Failure in test testSame (tests.test_baseunit.BaseUnitTestSubclass) 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-at14/Products/Archetypes/tests/test_baseunit.py", line 77, in testSame self.assertEquals(got, expected) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: '<h2 class="title">Title</h2><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section" id="now-the-real-heading"><h3><a name="now-the-real-heading">Now the real heading</a></h3><p>The brown fox jumped over the lazy dog.</p><div class="section" id="with-a-subheading"><h4><a name="with-a-subheading">With a subheading</a></h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.example.com">Stupid</a>.</p></div></div>' != '<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section" id="now-the-real-heading"><h3><a name="now-the-real-heading">Now the real heading</a></h3><p>The brown fox jumped over the lazy dog.</p><div class="section" id="with-a-subheading"><h4><a name="with-a-subheading">With a subheading</a></h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference"! href="http://www.example.com">Stupid</a>.</p></div></div>' /home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.Archetypes.examples.SimpleFolder.SimpleFolder.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.Archetypes.examples.Fact.Fact.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.Archetypes.examples.Fact.Fact.manage_afterClone 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.Archetypes.examples.Fact.Fact.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.Archetypes.examples.DDocument.DDocument.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.Archetypes.examples.DDocument.DDocument.manage_afterClone 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.PortalTransforms.Transform.Transform.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.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.Archetypes.examples.DDocument.DDocument.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.Archetypes.examples.ATBIFolder.ATBIFolder.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.Archetypes.examples.RefNode.Refnode.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.Archetypes.ReferenceEngine.Reference.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.Archetypes.ReferenceEngine.Reference.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.Archetypes.examples.SimpleBTreeFolder.SimpleBTreeFolder.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.Archetypes.examples.SimpleType.SimpleType.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-at14/Products/CMFCore/TypesTool.py:904: DeprecationWarning: TypeInformation.listContentTypes(by_metatype=1) is deprecated. DeprecationWarning) /home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.Archetypes.examples.SimpleFolder.SimpleFolder.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.Archetypes.examples.SimpleFolder.SimpleFolder.manage_afterClone 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.Archetypes.examples.SimpleBTreeFolder.SimpleBTreeFolder.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.Archetypes.examples.SimpleBTreeFolder.SimpleBTreeFolder.manage_afterClone 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.Archetypes.examples.SimpleFile.SimpleFile.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.Archetypes.references.CascadeReference.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.Archetypes.references.CascadeReference.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.Archetypes.references.HoldingReference.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.Archetypes.examples.SimpleType.SimpleType.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 test_recursive (tests.test_rename.RenameTests) 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-at14/Products/Archetypes/tests/test_rename.py", line 182, in test_recursive self.assertEquals(got, expected) File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual raise self.failureException, \ AssertionError: (3, 2, 0) != (2, 1, 0) /home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.Archetypes.examples.SimpleType.SimpleProtectedType.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.Archetypes.examples.ComplexType.ComplexType.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) Ran 401 tests with 2 failures and 0 errors in 89.536 seconds. FAILED (failures=2) |