[cmf-tests] FAILED (failures=2) : CMF-2.0 Zope-2.10 Python-2.4.4 :
Linux
CMF Unit Tests
cmf-tests at epy.co.at
Sun Nov 19 22:12:01 EST 2006
CMF Unit Tests : FAILED (failures=2)
CMF-2.0 Zope-2.10 Python-2.4.4 : 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
2006-11-20 03:57:06 ERROR Application Could not initialze a Temporary Folder because a database was not configured to be mounted at the /temp_folder mount point
/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
<string>:1: DeprecationWarning: setDefaultSkin is deprecated. setDefaultSkin has been moved to zope.publisher.browser. This reference will be removed in Zope 3.5.
Failure in test test_body_get (GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/testing.py", line 93, in test_body_get
self.assertEqual(adapted.body, self._BODY)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n <utility factory="GenericSetup.tests.test_components.DummyUtility"\n interface="GenericSetup.tests.test_components.IDummyInterface"/>\n <utility name="dummy tool name"\n interface="GenericSetup.tests.test_components.IDummyInterface"\n object="/dummy_tool"/>\n <utility name="dummy tool name2"\n interface="GenericSetup.tests.test_components.IDummyInterface"\n object="/test_folder_1_/dummy_tool"/>\n <utility name="foo"\n factory="GenericSetup.tests.test_components.DummyUtility"\n interface="GenericSetup.tests.test_components.IDummyInterface"/>\n <utility component="GenericSetup.tests.test_components.dummy2"\n interface="GenericSetup.tests.test_components.IDummyInterface2"/>\n </utilities>\n</componentregistry>\n' != '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n <utility factory="Products.GenericSetup.tests.test_components.Du!
mmyUtility"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n <utility name="dummy tool name"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n object="/dummy_tool"/>\n <utility name="dummy tool name2"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n object="/test_folder_1_/dummy_tool"/>\n <utility name="foo"\n factory="Products.GenericSetup.tests.test_components.DummyUtility"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n <utility component="Products.GenericSetup.tests.test_components.dummy2"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface2"/>\n </utilities>\n</componentregistry>\n'
Failure in test test_body_set (GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
testMethod()
File "/home/stefan/autotest/temp/python24-zope210-cmf20/Products/GenericSetup/testing.py", line 100, in test_body_set
self.assertEqual(adapted.body, self._BODY)
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n <utility factory="GenericSetup.tests.test_components.DummyUtility"\n interface="GenericSetup.tests.test_components.IDummyInterface"/>\n <utility factory="Products.GenericSetup.tests.test_components.DummyUtility"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n <utility name="dummy tool name"\n interface="GenericSetup.tests.test_components.IDummyInterface"\n object="/dummy_tool"/>\n <utility name="dummy tool name"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n object="/dummy_tool"/>\n <utility name="dummy tool name2"\n interface="GenericSetup.tests.test_components.IDummyInterface"\n object="/test_folder_1_/dummy_tool"/>\n <utility name="foo"\n factory="GenericSetup.tests.test_components.DummyUtility"\n interface="GenericSetup.tests.test_components.IDummyInterface"/>\n <utility compone!
nt="GenericSetup.tests.test_components.dummy2"\n interface="GenericSetup.tests.test_components.IDummyInterface2"/>\n </utilities>\n</componentregistry>\n' != '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n <utility factory="Products.GenericSetup.tests.test_components.DummyUtility"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n <utility name="dummy tool name"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n object="/dummy_tool"/>\n <utility name="dummy tool name2"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n object="/test_folder_1_/dummy_tool"/>\n <utility name="foo"\n factory="Products.GenericSetup.tests.test_components.DummyUtility"\n interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n <utility component="Products.GenericSetup.tests.test_components.dummy2"\n interface="Products.GenericSetup.tests!
.test_components.IDummyInterface2"/>\n </utilities>\n</componentregist
ry>\n'
Ran 1278 tests with 2 failures and 0 errors in 125.939 seconds.
FAILED (failures=2)
More information about the cmf-tests
mailing list