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.106s)
Installing CMFDefault ... done (0.738s)
Installing CMFCalendar ... done (0.126s)
Installing CMFTopic ... done (0.041s)
Installing DCWorkflow ... done (0.301s)
Installing CMFActionIcons ... done (0.071s)
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.212s)
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 (1.155s)
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.179s)
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.191s)
Installing ZCTextIndex ... done (0.047s)
Installing ExtendedPathIndex ... done (0.092s)
Installing SecureMailHost ... done (0.059s)
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.195s)
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 CMF 2.0: Archetypes
icon="tool.gif",
done (2.806s)
/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 (3.063s)
Installing ATReferenceBrowserWidget ... done (0.034s)
Installing ArchetypesTestUpdateSchema ... done (0.071s)
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 (20.359s)
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.181s)
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:712: 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:896: 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:635: 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:707: 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)
======================================================================
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 197.224s
FAILED (errors=2)
|