[Testbot] FAILED (failures=1) : ATCT-trunk Plone-trunk Zope-trunk Python-2.6.1
ATContentTypes Tests
plone-tests at epy.co.at
Mon Jun 1 04:22:37 UTC 2009
ATContentTypes Tests : FAILED (failures=1)
ATCT-trunk Plone-trunk Zope-trunk Python-2.6.1
Running /usr/local/python2.6/bin/python ./bin/test -q --no-color --no-progress --package Products.ATContentTypes
Running Products.PloneTestCase.layer.PloneSite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 4.922 seconds.
Set up Products.PloneTestCase.layer.ZCML in 17.826 seconds.
Set up Products.PloneTestCase.layer.PloneSite in 8.988 seconds.
Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt
Failed doctest test for events.txt
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 13, in events.txt
Failed example:
from zope.container.interfaces import IObjectEvent
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.4-py2.6.egg/zope/testing/doctest.py", line 1359, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[line 13, example 5]>", line 1, in <module>
from zope.container.interfaces import IObjectEvent
ImportError: cannot import name IObjectEvent
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 26, in events.txt
Failed example:
ztapi.subscribe([IBaseObject, IObjectEvent], None, handler)
Exception raised:
Traceback (most recent call last):
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.4-py2.6.egg/zope/testing/doctest.py", line 1359, in __run
compileflags, 1) in test.globs
File "<doctest events.txt[line 26, example 8]>", line 1, in <module>
ztapi.subscribe([IBaseObject, IObjectEvent], None, handler)
NameError: name 'IObjectEvent' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 31, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 10 events:
? -
+ 0 events:
+ []
- [(<ATDocument at a>,
- <zope.lifecycleevent.ObjectCreatedEvent object at ...>),
- (<ATDocument at a>, <OFS.event.ObjectWillBeAddedEvent object at ...>),
- (<ATDocument at /.../Members/test_user_1_/a>,
- <Products.DCWorkflow.events.BeforeTransitionEvent object at ...>),
- (<ATDocument at /.../Members/test_user_1_/a>,
- <Products.DCWorkflow.events.AfterTransitionEvent object at ...>),
- (<ATDocument at /.../Members/test_user_1_/a>,
- <zope.container.contained.ObjectAddedEvent object at ...>),
- (<ATFolder at /.../Members/test_user_1_>,
- <zope.container.contained.ContainerModifiedEvent object at ...>),
- (<ATDocument at /.../Members/test_user_1_/a>,
- <zope.lifecycleevent.ObjectModifiedEvent object at ...),
- (<ATDocument at /.../Members/test_user_1_/a>,
- <zope.lifecycleevent.ObjectCreatedEvent object at ...>),
- (<ATDocument at /.../Members/test_user_1_/a>,
- <zope.container.contained.ObjectAddedEvent object at ...>),
- (<ATFolder at /.../Members/test_user_1_>,
- <zope.container.contained.ContainerModifiedEvent object at ...>)]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 57, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
? ^
+ 0 events:
? ^
+ []
- [(<ATDocument at /.../Members/test_user_1_/a>,
- <Products.Archetypes.event.ObjectInitializedEvent object at ...>)]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ATContentTypes/Products/ATContentTypes/tests/events.txt", line 68, in events.txt
Failed example:
handler.print_and_flush() #doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
- 1 events:
? ^
+ 0 events:
? ^
+ []
- [(<ATDocument at /.../Members/test_user_1_/a>,
- <Products.Archetypes.event.WebDAVObjectEditedEvent object at ...>)]
Ran 672 tests with 1 failures and 0 errors in 2 minutes 49.291 seconds.
Tearing down left over layers:
Tear down Products.PloneTestCase.layer.PloneSite in 0.997 seconds.
Tear down Products.PloneTestCase.layer.ZCML in 0.018 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
FAILED (failures=1)
More information about the Testbot
mailing list