[cmf-tests] FAILED (errors=4) : CMF-2.0 Zope-2.10 Python-2.4.3 :
Linux
CMF Unit Tests
cmf-tests at epy.co.at
Sun Jul 30 22:16:08 EDT 2006
CMF Unit Tests : FAILED (errors=4)
CMF-2.0 Zope-2.10 Python-2.4.3 : Linux
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --path Products --test-path Products
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:692: DeprecationWarning: The five:traversable statement is no longer needed and will be removed in Zope 2.12.
actions = self.handler(context, **args)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:184: DeprecationWarning: zope.app.event.interfaces has moved to zope.lifecycleevent.interfaces. Import of zope.app.event.interfaces will become unsupported in Zope 3.5
mod = __import__(mname, *_import_chickens)
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/config.py:199: DeprecationWarning: IObjectEvent is deprecated. IObjectEvent has moved to zope.component.interfaces
obj = getattr(mod, oname)
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_FSPageTemplate.py:25: DeprecationWarning: Products.PageTemplates.TALES has moved to zope.tales.tales. Import of Products.PageTemplates.TALES will become unsupported in 2.12
from Products.PageTemplates.TALES import Undefined
Parsing /home/stefan/autotest/temp/python24-zope210-cmf20/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.Portal.CMFSite.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-zope210/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-zope210/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCalendar.Event.Event.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-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:6: DeprecationWarning: Creating layers via ZCML has been deprecated. The browser:layer directive will be removed in Zope 3.5. Layers are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They do not need further registration.
<browser:layer
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFDefault/skin/configure.zcml:10: DeprecationWarning: Creating skins via ZCML has been deprecated. The browser:skin directive will be removed in Zope 3.5. Skins are now interfaces extending zope.publisher.interfaces.browser.IBrowserRequest. They are registered using the 'interface' directive.
<browser:skin
/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/exportimport/tests/test_content.py:48: DeprecationWarning: zope.app.tests has moved to zope.app.testing. Import of zope.app.tests will become unsupported in Zope 3.5
from zope.app.tests import ztapi
Error in test test_Condition_PathExpression (CMFCore.tests.test_ActionInformation.ActionInformationTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_ActionInformation.py", line 402, in test_Condition_PathExpression
self.failUnless(ai.testCondition(ec))
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/ActionInformation.py", line 339, in testCondition
return bool( self.condition(ec) )
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 122, in _eval
ob = self._subexprs[-1](econtext)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/tales/expressions.py", line 124, in _eval
ob = self._traverser(ob, element, econtext)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Products/PageTemplates/Expressions.py", line 71, in boboAwareZopeTraverse
object = object.restrictedTraverse(name)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 289, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 250, in unrestrictedTraverse
next = queryMultiAdapter((obj, self.REQUEST),
AttributeError: REQUEST
Error in test test_reindexObjectSecurity_missing_noraise (CMFCore.tests.test_CMFCatalogAware.CMFCatalogAwareTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_CMFCatalogAware.py", line 182, in test_reindexObjectSecurity_missing_noraise
self.assertEqual( len(self.logged), 1 ) # logging because no raise
TypeError: len() of unsized object
Error in test test_allMetaTypes (CMFCore.tests.test_TypesTool.TypesToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_TypesTool.py", line 111, in test_allMetaTypes
act = tool.unrestrictedTraverse(html_quote(factype['action']))
File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 274, in unrestrictedTraverse
obj = next
UnboundLocalError: local variable 'next' referenced before assignment
Error in test test_constructContent (CMFCore.tests.test_TypesTool.TypesToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/tests/test_TypesTool.py", line 143, in test_constructContent
ttool.constructContent('Baz', container=f, id='page2')
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/TypesTool.py", line 684, in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/TypesTool.py", line 278, in constructInstance
ob = self._constructInstance(container, id, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/CMFCore/TypesTool.py", line 486, in _constructInstance
constructor = self.restrictedTraverse( self.constructor_path )
File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 289, in restrictedTraverse
return self.unrestrictedTraverse(path, default, restricted=True)
File "/home/stefan/autotest/temp/python24-zope210/lib/python/OFS/Traversable.py", line 250, in unrestrictedTraverse
next = queryMultiAdapter((obj, self.REQUEST),
AttributeError: REQUEST
<string>:1: DeprecationWarning: setDefaultSkin is deprecated. setDefaultSkin has been moved to zope.publisher.browser. This reference will be removed in Zope 3.5.
Ran 1264 tests with 0 failures and 4 errors in 122.262 seconds.
FAILED (errors=4)
More information about the cmf-tests
mailing list