[cmf-tests] FAILED (errors=4) : CMF-trunk Zope-trunk Python-2.4.4 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Sat Apr 28 21:39:28 EDT 2007


CMF Unit Tests : FAILED (errors=4)
CMF-trunk Zope-trunk Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22/etc/zope.conf
Running unit tests:
  Ran 778 tests with 0 failures and 0 errors in 7.968 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.935 seconds.
  Ran 49 tests with 0 failures and 0 errors in 0.651 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.907 seconds.
  Ran 21 tests with 0 failures and 0 errors in 4.228 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.071 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.072 seconds.
  Ran 24 tests with 0 failures and 0 errors in 0.147 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.134 seconds.
  Ran 106 tests with 0 failures and 0 errors in 1.983 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.093 seconds.


Error in test test_checkTransitionGuard (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
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-zope211-cmf22/Products/DCWorkflow/tests/test_DCWorkflow.py", line 157, in test_checkTransitionGuard
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
    notify(ObjectAddedEvent(object, self, id))
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
    subscriber(event)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
    adapters = zope.component.subscribers((event.object, event), None)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 260, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 71, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 263, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 256, in catalog_object
    pghandler)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
    self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog



Error in test test_doActionFor (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
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-zope211-cmf22/Products/DCWorkflow/tests/test_DCWorkflow.py", line 84, in test_doActionFor
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
    notify(ObjectAddedEvent(object, self, id))
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
    subscriber(event)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
    adapters = zope.component.subscribers((event.object, event), None)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 260, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 71, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 263, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 256, in catalog_object
    pghandler)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
    self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog



Error in test test_events (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
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-zope211-cmf22/Products/DCWorkflow/tests/test_DCWorkflow.py", line 111, in test_events
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
    notify(ObjectAddedEvent(object, self, id))
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
    subscriber(event)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
    adapters = zope.component.subscribers((event.object, event), None)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 260, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 71, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 263, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 256, in catalog_object
    pghandler)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
    self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog



Error in test test_isActionSupported (DCWorkflow.tests.test_DCWorkflow.DCWorkflowDefinitionTests)
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-zope211-cmf22/Products/DCWorkflow/tests/test_DCWorkflow.py", line 173, in test_isActionSupported
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/tests/base/dummy.py", line 234, in _setObject
    notify(ObjectAddedEvent(object, self, id))
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/event/__init__.py", line 23, in notify
    subscriber(event)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 26, in dispatch
    for ignored in zope.component.subscribers(event, None):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/event.py", line 33, in objectEventNotify
    adapters = zope.component.subscribers((event.object, event), None)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/_api.py", line 130, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/component/registry.py", line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/interface/adapter.py", line 535, in subscribers
    subscription(*objects)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 260, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CMFCatalogAware.py", line 71, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 263, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/CMFCore/CatalogTool.py", line 256, in catalog_object
    pghandler)
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/ZCatalog/ZCatalog.py", line 534, in catalog_object
    self._catalog.catalogObject(obj, uid, None, idxs,
AttributeError: _catalog

  Ran 15 tests with 0 failures and 4 errors in 0.183 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.071 seconds.
  Ran 68 tests with 0 failures and 0 errors in 0.530 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.730 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.641 seconds.
  Ran 50 tests with 0 failures and 0 errors in 12.968 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.066 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.066 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.069 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.451 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 1.397 seconds.
  Ran 35 tests with 0 failures and 0 errors in 4.319 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.002 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.240 seconds.
  Ran 190 tests with 0 failures and 0 errors in 2.937 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1348 tests, 0 failures, 4 errors

FAILED (errors=4)


More information about the cmf-tests mailing list