From: Archetypes U. T. <plo...@ep...> - 2005-11-30 08:00:55
|
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 (0.127s) Installing CMFDefault ... done (0.173s) Installing CMFCalendar ... done (0.154s) Installing CMFTopic ... done (0.047s) Installing DCWorkflow ... done (1.037s) Installing CMFActionIcons ... done (0.067s) 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 CMF 2.0: QuickInstallerTool icon='tool.gif' done (0.267s) Installing CMFFormController ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/utils.py:770: DeprecationWarning: format_stx() will be removed in CMF 2.0. 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 CMF 2.0: CMFFormController product_name='CMFFormController', icon='tool.gif', done (0.465s) 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 CMF 2.0: ResourceRegistries icon = 'tool.gif', done (0.139s) 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 CMF 2.0: GroupUserFolder , icon="tool.gif" done (0.199s) Installing ZCTextIndex ... done (0.044s) Installing ExtendedPathIndex ... done (0.097s) Installing SecureMailHost ... done (0.068s) Installing CMFPlone ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/__init__.py:190: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: CMFPlone , icon='tool.gif' done (1.332s) Installing Archetypes ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/Archetypes/__init__.py:99: DeprecationWarning: The product_name parameter of ToolInit is deprecated and will be ignored in CMF 2.0: Archetypes icon="tool.gif", done (3.937s) /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 CMF 2.0: 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 CMF 2.0: 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 CMF 2.0: ATContentTypes icon='tool.gif', ).initialize(context) done (10.343s) Installing ATReferenceBrowserWidget ... done (0.044s) Installing ArchetypesTestUpdateSchema ... done (0.069s) Adding Plone Site ... /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/Portal.py:180: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0 typeinfo_name='CMFPlone: Plone Folder') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/Portal.py:183: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0 typeinfo_name='CMFPlone: Large Plone Folder') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/TypesTool.py:270: 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) /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/migrations/v2/plone2_base.py:249: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0 typeinfo_name='CMFCore: Portal Folder') /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFPlone/migrations/v2/plone2_base.py:385: DeprecationWarning: Please switch to the new format for typeinfo names "product_id: type_id (meta_type)", the old spelling will disappear in CMF 2.0 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 2.0 typeinfo_name=typeinfo_name) done (23.055s) Adding CMFFormController ... done (0.004s) Adding Archetypes ... done (0.180s) Failed to import ZPsycopgDA Failed to import ZMySQLDA /autotest/temp/python23-zope28-cmf15-plone21-at13/Products/CMFCore/TypesTool.py:896: DeprecationWarning: TypeInformation.listContentTypes(by_metatype=1) is deprecated. DeprecationWarning) ====================================================================== 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 272, 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 923, in constructContent raise ValueError('No such content type: %s' % type_name) ValueError: No such content type: TestClass ---------------------------------------------------------------------- Ran 331 tests in 180.239s FAILED (errors=2) |