[Testbot] FAILED (failures=4) : AT-trunk Plone-trunk Zope-trunk Python-2.4.5
Archetypes Tests
plone-tests at epy.co.at
Sun Feb 8 06:03:22 UTC 2009
Archetypes Tests : FAILED (failures=4)
AT-trunk Plone-trunk Zope-trunk Python-2.4.5
Running /usr/local/python2.4/bin/python ./bin/test --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
Running Products.Archetypes.tests.layer.ZCML tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.715 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.402 seconds.
Set up Products.Archetypes.tests.layer.ZCML in 0.382 seconds.
Ran 52 tests with 0 failures and 0 errors in 2.386 seconds.
Running Products.Archetypes.tests.layer.ArchetypesSite tests:
Set up Products.Archetypes.tests.layer.ArchetypesSite in 4.054 seconds.
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Failure in test test_searchableText (Products.Archetypes.tests.test_baseobject.BaseObjectTest)
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-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_baseobject.py", line 87, in test_searchableText
'1 2 Option 1 : printemps Option 2 : \xc3\xa9t\xc3\xa9')
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
raise self.failureException, \
AssertionError: '1 2 Option 1 : printemps [[plone][Option 2 : \xc3\xa9t\xc3\xa9]]' != '1 2 Option 1 : printemps Option 2 : \xc3\xa9t\xc3\xa9'
Failure in test /home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt
Failed doctest test for events.txt
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 13, in events.txt
Failed example:
from zope.app.container.interfaces import IObjectEvent
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[5]>", line 1, in ?
from zope.app.container.interfaces import IObjectEvent
ImportError: cannot import name IObjectEvent
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 30, in events.txt
Failed example:
ztapi.subscribe([IBaseObject, IObjectEvent], None, handler)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/eggs/zope.testing-3.7.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[8]>", line 1, in ?
ztapi.subscribe([IBaseObject, IObjectEvent], None, handler)
NameError: name 'IObjectEvent' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 35, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 10 events:...
? - ---
+ 0 events:
+ []
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 42, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
? ^
+ 0 events:
? ^
+ []
- [(<DDocument at /.../Members/test_user_1_/a>,
- <Products.Archetypes.event.ObjectInitializedEvent object at ...>)]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 87, in events.txt
Failed example:
handler.print_last_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
? ^
+ 0 events:
? ^
+ []
- [(<DDocument at /cmf/Members/test_user_1_/some-document>,
- <Products.Archetypes.event.WebDAVObjectInitializedEvent object at ...>)...]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 108, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
? ^
+ 0 events:
? ^
+ []
- [(<DDocument at /cmf/Members/test_user_1_/some-document>,
- <Products.Archetypes.event.WebDAVObjectEditedEvent object at ...>)]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/events.txt", line 128, in events.txt
Failed example:
handler.print_last_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
? ^
+ 0 events:
? ^
+ []
- [(<SimpleFolder at /cmf/Members/test_user_1_/f1/some-folder>,
- <Products.Archetypes.event.WebDAVObjectInitializedEvent object at ...>)]
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
DeprecationWarning)
Ran 492 tests with 2 failures and 0 errors in 1 minutes 34.751 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
Tear down Products.Archetypes.tests.layer.ArchetypesSite in 0.133 seconds.
Tear down Products.Archetypes.tests.layer.ZCML in 0.012 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
Set up Products.CMFTestCase.layer.ZCML in 0.727 seconds.
Failure in test testBFInterface (Products.Archetypes.tests.test_interfaces.InstanceInterfaceTest)
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-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 227, in <lambda>
setattr(InstanceInterfaceTest, funcName, lambda self: self._testStuff())
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 143, in _testStuff
self.interfaceImplementedBy(self.instance, iface)
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 105, in interfaceImplementedBy
self.fail('The instance of %s does not implement %s correctly: \n%s'
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
raise self.failureException, msg
AssertionError: The instance of BF does not implement IContainer correctly:
An object has failed to implement interface <InterfaceClass zope.container.interfaces.IContainer>
The __delitem__ attribute was not provided.
Failure in test testOBFInterface (Products.Archetypes.tests.test_interfaces.InstanceInterfaceTest)
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-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 227, in <lambda>
setattr(InstanceInterfaceTest, funcName, lambda self: self._testStuff())
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 143, in _testStuff
self.interfaceImplementedBy(self.instance, iface)
File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 105, in interfaceImplementedBy
self.fail('The instance of %s does not implement %s correctly: \n%s'
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
raise self.failureException, msg
AssertionError: The instance of OBF does not implement IContainer correctly:
An object has failed to implement interface <InterfaceClass zope.container.interfaces.IContainer>
The __delitem__ attribute was not provided.
Ran 16 tests with 2 failures and 0 errors in 0.164 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down Products.CMFTestCase.layer.ZCML in 0.002 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Ran 24 tests with 0 failures and 0 errors in 0.398 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 584 tests, 4 failures, 0 errors in 1 minutes 46.239 seconds.
FAILED (failures=4)
More information about the Testbot
mailing list