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

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


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

Running /usr/local/python2.6/bin/python ./bin/test --all
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.046 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-zope213/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-zope213/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-zope213/src/Products/Five/utilities/browser/tests/test_marker.py", line 19, in test_editview

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope213/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-zope213/src/Products/Five/utilities/browser/marker.py", line 60, in update
        add = self.adapted.dottedToInterfaces(add)
      File "/home/stefan/autotest/temp/python26-zope213/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-zope213/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-zope213/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-zope213/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-zope213/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-zope213/src/Products/Five/utilities/browser/marker.py", line 61, in update
        remove = self.adapted.dottedToInterfaces(remove)
      File "/home/stefan/autotest/temp/python26-zope213/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-zope213/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.760 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.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-zope213/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-zope213/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 1822 tests with 0 failures and 0 errors in 50.799 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 2130 tests, 1 failures, 0 errors in 55.866 seconds.

FAILED (failures=1)


More information about the Zope-tests mailing list