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

CMF Tests cmf-tests at epy.co.at
Wed Aug 27 21:19:12 EDT 2008


CMF Tests : FAILED (errors=2)
CMF-2.1 Zope-2.11 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 301 tests with 0 failures and 0 errors in 2.438 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.431 seconds.
  Ran 253 tests with 0 failures and 0 errors in 4.612 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.427 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 16.290 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 2.697 seconds.
  Ran 53 tests with 0 failures and 0 errors in 0.402 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.040 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.834 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.150 seconds.


Error in test test_body_get (Products.GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
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/GenericSetup/tests/test_components.py", line 139, in test_body_get
    self._populate(self._obj)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/tests/test_components.py", line 129, in _populate
    obj.registerUtility(DummyUtility(), IDummyInterface)
  File "/home/stefan/autotest/temp/python24-zope211-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 "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/tests/test_components.py", line 147, in test_body_set
    adapted.body = self._BODY
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/utils.py", line 542, in _importBody
    self._importNode(dom.documentElement)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/components.py", line 76, in _importNode
    self._initUtilities(child)
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/components.py", line 166, in _initUtilities
    self.context.registerUtility(factory(), provided, name)
  File "/home/stefan/autotest/temp/python24-zope211-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 2.653 seconds.
Tearing down left over layers:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 970 tests, 0 failures, 2 errors in 37.720 seconds.

FAILED (errors=2)


More information about the cmf-tests mailing list