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

CMF Tests cmf-tests at epy.co.at
Thu Aug 28 21:19:48 EDT 2008


CMF Tests : FAILED (errors=2)
CMF-2.1 Zope-2.10 Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope210/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Installing GenericSetup ... done (0.012s)
Parsing /home/stefan/autotest/temp/python24-zope210-cmf21/etc/zope.conf
Running unit tests:
  Ran 554 tests with 0 failures and 0 errors in 7.325 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.403 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Ran 99 tests with 0 failures and 0 errors in 15.182 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.857 seconds.
  Ran 53 tests with 0 failures and 0 errors in 0.396 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Ran 10 tests with 0 failures and 0 errors in 1.047 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Ran 69 tests with 0 failures and 0 errors in 5.922 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.135 seconds.


Error in test test_body_get (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/tests/test_components.py", line 139, in test_body_get
    self._populate(self._obj)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/tests/test_components.py", line 129, in _populate
    obj.registerUtility(DummyUtility(), IDummyInterface)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)



Error in test test_body_set (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope210/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/tests/test_components.py", line 147, in test_body_set
    adapted.body = self._BODY
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/utils.py", line 542, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/components.py", line 76, in _importNode
    self._initUtilities(child)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/Products/GenericSetup/components.py", line 166, in _initUtilities
    self.context.registerUtility(factory(), provided, name)
  File "/home/stefan/autotest/temp/python24-zope210-cmf21/lib/python/five/localsitemanager/registry.py", line 248, in registerUtility
    zope.event.notify(zope.component.interfaces.Registered(
TypeError: __init__() takes exactly 6 arguments (7 given)

  Ran 180 tests with 0 failures and 2 errors in 1.266 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 970 tests, 0 failures, 2 errors

FAILED (errors=2)


More information about the cmf-tests mailing list