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

CMF Unit Tests cmf-tests at epy.co.at
Mon Apr 16 21:38:12 EDT 2007


CMF Unit Tests : FAILED (errors=4)
CMF-2.1 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-cmf21/etc/zope.conf
Running unit tests:
  Ran 827 tests with 0 failures and 0 errors in 8.028 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.826 seconds.
  Ran 52 tests with 0 failures and 0 errors in 0.437 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.952 seconds.
  Ran 21 tests with 0 failures and 0 errors in 3.673 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.083 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.071 seconds.
  Ran 26 tests with 0 failures and 0 errors in 0.154 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.150 seconds.
  Ran 106 tests with 0 failures and 0 errors in 1.360 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.111 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-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 165, in test_checkTransitionGuard
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/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-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, 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-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 92, in test_doActionFor
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/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-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, 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-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 119, in test_events
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/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-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, 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-cmf21/Products/DCWorkflow/tests/test_DCWorkflow.py", line 181, in test_isActionSupported
    dummy = self.site._setObject( 'dummy', DummyContent() )
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/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-cmf21/Products/CMFCore/CMFCatalogAware.py", line 266, in handleContentishEvent
    ob.indexObject()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CMFCatalogAware.py", line 76, in indexObject
    catalog.indexObject(self)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 270, in indexObject
    self.catalog_object(object, url)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/CMFCore/CatalogTool.py", line 263, 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 16 tests with 0 failures and 4 errors in 0.230 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 69 tests with 0 failures and 0 errors in 0.558 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.754 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.704 seconds.
  Ran 50 tests with 0 failures and 0 errors in 14.408 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.069 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.006 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.068 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.225 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.697 seconds.
  Ran 35 tests with 0 failures and 0 errors in 1.964 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.132 seconds.
  Ran 190 tests with 0 failures and 0 errors in 4.117 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1404 tests, 0 failures, 4 errors

FAILED (errors=4)


More information about the cmf-tests mailing list