From: Archetypes U. T. <plo...@ep...> - 2005-08-31 07:17:46
|
Archetypes Unit Tests : FAILED (errors=2) AT-1_3-branch Plone-2.1 Zope-2_8-branch Python-2.3.5 Running /usr/local/python2.3/bin/python /autotest/temp/python23-zope28/test.py -C zope.conf --libdir . --dir Archetypes !test_cmfessentials /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/PortalTransforms/TransformEngine.py:18: DeprecationWarning: The module, 'Products.CMFCore.CMFCorePermissions' is a deprecated compatiblity alias for 'Products.CMFCore.permissions'; please use the new module instead. from Products.CMFCore import CMFCorePermissions Installing CMFCore ... done (3.030s) Installing CMFDefault ... done (0.555s) Installing CMFCalendar ... done (2.859s) Installing CMFTopic ... done (0.398s) Installing DCWorkflow ... done (4.476s) Installing CMFActionIcons ... done (2.145s) Installing CMFQuickInstallerTool ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFQuickInstallerTool/__init__.py:36: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: QuickInstallerTool icon='tool.gif' done (3.346s) Installing CMFFormController ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/utils.py:629: DeprecationWarning: format_stx() will be removed in CMF 1.6. Please use StructuredText.StructuredText.HTML instead. DeprecationWarning) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFFormController/__init__.py:25: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFFormController product_name='CMFFormController', icon='tool.gif', done (8.239s) Installing ResourceRegistries ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/ResourceRegistries/__init__.py:20: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ResourceRegistries icon = 'tool.gif', done (4.025s) Installing GroupUserFolder ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/GroupUserFolder/__init__.py:99: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: GroupUserFolder , icon="tool.gif" done (12.670s) Installing ZCTextIndex ... done (0.585s) Installing ExtendedPathIndex ... done (1.618s) Installing SecureMailHost ... done (0.254s) Installing CMFPlone ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCalendar/EventPermissions.py:24: DeprecationWarning: The module, 'Products.CMFCalendar.EventPermissions' is a deprecated compatiblity alias for 'Products.CMFalendar.permissions'; please use the new module instead. "the new module instead.", DeprecationWarning) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/__init__.py:191: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: CMFPlone , icon='tool.gif' done (36.495s) Installing Archetypes ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/__init__.py:90: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: Archetypes icon="tool.gif", done (10.592s) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/MimetypesRegistry/__init__.py:34: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: MimetypesRegistry icon="tool.gif", /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/PortalTransforms/__init__.py:35: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: PortalTransforms icon="tool.gif", Installing ATContentTypes ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/ATContentTypes/__init__.py:82: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF1.6: ATContentTypes icon='tool.gif', ).initialize(context) done (3.178s) Installing ATReferenceBrowserWidget ... done (0.035s) Installing ArchetypesTestUpdateSchema ... done (0.094s) Adding Plone Site ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/Portal.py:181: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7 typeinfo_name='CMFPlone: Plone Folder') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/Portal.py:184: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7 typeinfo_name='CMFPlone: Large Plone Folder') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/TypesTool.py:275: DeprecationWarning: getActionById() is deprecated and will be removed in CMF 1.6. Please use getActionInfo()['url'] if you need an URL or queryMethodID() if you need a method ID. DeprecationWarning) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/migrations/v2/plone2_base.py:268: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7 typeinfo_name='CMFCore: Portal Folder') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/migrations/v2/plone2_base.py:419: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7 typeinfo_name='CMFPlone: Plone Site') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/Extensions/utils.py:254: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7 typeinfo_name=typeinfo_name) done (14.446s) Adding CMFFormController ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/atsitetestcase.py:141: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit() done (0.004s) Adding Archetypes ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/atsitetestcase.py:153: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit() done (0.183s) Installing ZGadflyDA ... done (0.022s) Failed to import ZPsycopgDA Failed to import ZMySQLDA /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_copying.py:59: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_copying.py:72: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_copying.py:119: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_copying.py:139: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_copying.py:159: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_copying.py:260: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/BaseObject.py:705: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/TypesTool.py:901: DeprecationWarning: TypeInformation.listContentTypes(by_metatype=1) is deprecated. DeprecationWarning) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceCatalog.py:106: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceCatalog.py:242: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:215: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:623: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:695: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:113: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:115: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:121: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:123: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:149: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:187: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_referenceable.py:88: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_rename.py:170: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_rename.py:138: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_sqlstorage.py:225: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 1.7 typeinfo_name = 'CMFDefault: Document') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_sqlstorage.py:463: DeprecationWarning: This will be removed in ZODB 3.6: use transaction.get() instead of get_transaction(). transaction.commit() is a shortcut spelling of transaction.get().commit(), and transaction.abort() of transaction.get().abort(). get_transaction().commit(1) ====================================================================== ERROR: test_detect_schema_change (Archetypes.tests.test_update_schema1.TestUpdateSchema1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_update_schema1.py", line 92, in test_detect_schema_change t1 = self.folder.t1 AttributeError: t1 ====================================================================== ERROR: test_update_schema (Archetypes.tests.test_update_schema2.TestUpdateSchema2) ---------------------------------------------------------------------- Traceback (most recent call last): File "/autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/test_update_schema2.py", line 81, in test_update_schema t1 = makeContent(self.folder, portal_type='TestClass', id='t1') File "/autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/tests/utils.py", line 71, in makeContent container.invokeFactory( type_name=portal_type, id=id ) File "/autotest/temp/python23-zope28-cmf15-plone21-at13/Products/ATContentTypes/lib/constraintypes.py", line 274, in invokeFactory RESPONSE=None, *args, **kw) File "/autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/PortalFolder.py", line 408, in invokeFactory return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw) File "/autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/TypesTool.py", line 928, in constructContent raise ValueError('No such content type: %s' % type_name) ValueError: No such content type: TestClass ---------------------------------------------------------------------- Ran 340 tests in 169.918s FAILED (errors=2) |