Zope2 Tests : FAILED (failures=2)
Zope-2.13 Python-2.6.8 : Linux (x86_64)
Running ./bin/alltests --all
(112 more lines)./bin/alltests:85: DeprecationWarning: zope.testing.testrunner is deprecated in favour of zope.testrunner.
/home/stefan/autotest/temp/python26-zope213all/eggs/zope.testing-3.9.7-py2.6.egg/zope/testing/testrunner/formatter.py:28: DeprecationWarning: zope.testing.exceptions is deprecated in favour of zope.testrunner.exceptions
from zope.testing.exceptions import DocTestFailureException
Running OFS.tests.testCopySupportEvents.EventLayer tests:
Set up OFS.tests.testCopySupportEvents.EventLayer in 0.089 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.043 seconds.
Running OFS.tests.testCopySupportHooks.HookLayer tests:
Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.000 seconds.
Set up OFS.tests.testCopySupportHooks.HookLayer in 0.088 seconds.
Ran 14 tests with 0 failures and 0 errors in 0.044 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Tear down OFS.tests.testCopySupportHooks.HookLayer in 0.000 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Failure in test test_menu (Products.Five.browser.tests.test_menu)
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2163, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for Products.Five.browser.tests.test_menu.test_menu
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/test_menu.py", line 17, in test_menu
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/test_menu.py", line 51, in Products.Five.browser.tests.test_menu.test_menu
Failed example:
pprint(menu[0])
Expected:
{'action': u'@@cockatiel_menu_public.html',
'description': u'',
'extra': None,
'icon': None,
'selected': u'',
'submenu': None,
'title': u'Page in a menu (public)'}
Got:
{'action': '@@cockatiel_menu_public.html',
'description': u'',
'extra': None,
'icon': None,
'selected': u'',
'submenu': None,
'title': u'Page in a menu (public)'}
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/test_menu.py", line 102, in Products.Five.browser.tests.test_menu.test_menu
Failed example:
pprint(menu[0])
Expected:
{'action': u'@@cockatiel_menu_protected.html',
'description': u'',
'extra': None,
'icon': None,
'selected': u'',
'submenu': None,
'title': u'Page in a menu (protected)'}
Got:
{'action': '@@cockatiel_menu_protected.html',
'description': u'',
'extra': None,
'icon': None,
'selected': u'',
'submenu': None,
'title': u'Page in a menu (protected)'}
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/test_menu.py", line 111, in Products.Five.browser.tests.test_menu.test_menu
Failed example:
pprint(menu[1])
Expected:
{'action': u'@@cockatiel_menu_public.html',
'description': u'',
'extra': None,
'icon': None,
'selected': u'',
'submenu': None,
'title': u'Page in a menu (public)'}
Got:
{'action': '@@cockatiel_menu_public.html',
'description': u'',
'extra': None,
'icon': None,
'selected': u'',
'submenu': None,
'title': u'Page in a menu (public)'}
Failure in test /home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/pages.txt
Traceback (most recent call last):
File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
testMethod()
File "/usr/local/python2.6/lib/python2.6/doctest.py", line 2163, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pages.txt
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/pages.txt", line 0
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/browser/tests/pages.txt", line 93, in pages.txt
Failed example:
page.__name__
Expected:
u'eagle.txt'
Got:
'eagle.txt'
Ran 220 tests with 2 failures and 0 errors in 4.313 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.001 seconds.
Ran 18 tests with 0 failures and 0 errors in 0.028 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.001 seconds.
Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.001 seconds.
Ran 2 tests with 0 failures and 0 errors in 0.005 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.001 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213all/eggs/zExceptions-2.13.0-py2.6.egg/zExceptions/tests/test___init__.py:28: DeprecationWarning: String exceptions are deprecated starting with Python 2.5 and will be removed in a future release
return upgradeException(t, v)
Ran 2526 tests with 0 failures and 0 errors in 45.198 seconds.
Tearing down left over layers:
Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 2794 tests, 2 failures, 0 errors in 50.470 seconds.
FAILED (failures=2)