[Zope-tests] FAILED (failures=1) : Zope-trunk-alltests Python-2.6.4 : Linux

Zope Tests zope-tests at epy.co.at
Mon Mar 29 21:38:32 EDT 2010


Zope Tests : FAILED (failures=1)
Zope-trunk-alltests Python-2.6.4 : Linux (x86_64)

Running /usr/local/python2.6/bin/python ./bin/alltests --all
/home/stefan/autotest/temp/python26-zope213all/eggs/Acquisition-2.13.1-py2.6-linux-x86_64.egg/Acquisition/tests.py:2321: DeprecationWarning: zope.testing.doctest is deprecated in favour of the Python standard library doctest module
  from zope.testing.doctest import DocTestSuite, DocFileSuite
/home/stefan/autotest/temp/python26-zope213all/eggs/RestrictedPython-3.5.1-py2.6.egg/RestrictedPython/tests/testREADME.py:17: DeprecationWarning: zope.testing.doctestunit is deprecated in favour of the Python standard library doctest module
  from zope.testing.doctestunit import DocFileSuite
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.058 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.080 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.057 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.045 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.
/home/stefan/autotest/temp/python26-zope213all/eggs/zope.configuration-3.7.1-py2.6.egg/zope/configuration/config.py:686: UserWarning: The set_schema option of the <require /> directive is not supported in Zope 2. Ignored for AccessControl.tests.testZCML.Dummy3
  actions = self.handler(context, **args)
/home/stefan/autotest/temp/python26-zope213all/eggs/zope.configuration-3.7.1-py2.6.egg/zope/configuration/config.py:686: UserWarning: The set_attribute option of the <require /> directive is not supported in Zope 2. Ignored for AccessControl.tests.testZCML.Dummy4
  actions = self.handler(context, **args)


Failure in test test_editview (Products.Five.utilities.browser.tests.test_marker)
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 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for Products.Five.utilities.browser.tests.test_marker.test_editview
  File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/tests/test_marker.py", line 19, in test_editview

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/tests/test_marker.py", line 70, in Products.Five.utilities.browser.tests.test_marker.test_editview
Failed example:
    view.update(('__builtin__.IFooMarker',), ())
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest Products.Five.utilities.browser.tests.test_marker.test_editview[25]>", line 1, in <module>
        view.update(('__builtin__.IFooMarker',), ())
      File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/marker.py", line 60, in update
        add = self.adapted.dottedToInterfaces(add)
      File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/marker.py", line 58, in dottedToInterfaces
        return [getInterface(self.context, dotted) for dotted in seq]
      File "/home/stefan/autotest/temp/python26-zope213all/eggs/zope.component-3.9.3-py2.6.egg/zope/component/interface.py", line 130, in getInterface
        raise ComponentLookupError(id)
    ComponentLookupError: __builtin__.IFooMarker
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/tests/test_marker.py", line 71, in Products.Five.utilities.browser.tests.test_marker.test_editview
Failed example:
    view.getAvailableInterfaceNames()
Expected:
    []
Got:
    [{'link': 'http://nohost/test_folder_1_/foo/views-details.html?iface=__main__.IFooMarker&type=zope.publisher.interfaces.browser.IBrowserRequest', 'name': '__main__.IFooMarker'}]
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/tests/test_marker.py", line 73, in Products.Five.utilities.browser.tests.test_marker.test_editview
Failed example:
    view.getDirectlyProvidedNames()
Expected:
    [...IFooMarker...]
Got:
    []
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/tests/test_marker.py", line 78, in Products.Five.utilities.browser.tests.test_marker.test_editview
Failed example:
    view.update((), ('__builtin__.IFooMarker',))
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest Products.Five.utilities.browser.tests.test_marker.test_editview[28]>", line 1, in <module>
        view.update((), ('__builtin__.IFooMarker',))
      File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/browser/marker.py", line 61, in update
        remove = self.adapted.dottedToInterfaces(remove)
      File "/home/stefan/autotest/temp/python26-zope213all/src/Products/Five/utilities/marker.py", line 58, in dottedToInterfaces
        return [getInterface(self.context, dotted) for dotted in seq]
      File "/home/stefan/autotest/temp/python26-zope213all/eggs/zope.component-3.9.3-py2.6.egg/zope/component/interface.py", line 130, in getInterface
        raise ComponentLookupError(id)
    ComponentLookupError: __builtin__.IFooMarker


  Ran 244 tests with 1 failures and 0 errors in 3.769 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
  Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.093 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.173 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.001 seconds.
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.001 seconds.
  Ran 18 tests with 0 failures and 0 errors in 0.030 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.006 seconds.
Running zope.component.tests.ConditionalSecurity 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.component.tests.ConditionalSecurity in 0.009 seconds.
  Ran 48 tests with 0 failures and 0 errors in 0.165 seconds.
Running zope.site.tests.test_site.Layer tests:
  Tear down zope.component.tests.ConditionalSecurity in 0.006 seconds.
  Set up zope.site.tests.test_site.Layer in 0.000 seconds.
  Ran 39 tests with 0 failures and 0 errors in 0.027 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down zope.site.tests.test_site.Layer in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
/home/stefan/autotest/temp/python26-zope213all/src/OFS/tests/testRanges.py:182: DeprecationWarning: the multifile module has been deprecated since Python 2.5
  from multifile import MultiFile
/home/stefan/autotest/temp/python26-zope213all/src/zExceptions/tests/test___init__.py:26: DeprecationWarning: String exceptions are deprecated starting with Python 2.5 and will be removed in a future release
  return upgradeException(t, v)
  Ran 5501 tests with 0 failures and 0 errors in 1 minutes 41.485 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 5896 tests, 1 failures, 0 errors in 1 minutes 47.392 seconds.

FAILED (failures=1)


More information about the Zope-tests mailing list