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

CMF Unit Tests cmf-tests at epy.co.at
Sun Nov 19 22:15:01 EST 2006


CMF Unit Tests : FAILED (failures=2)
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-cmf21/etc/zope.conf
Running unit tests:


Failure in test test_body_get (GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/testing.py", line 93, in test_body_get
    self.assertEqual(adapted.body, self._BODY)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n  <utility factory="GenericSetup.tests.test_components.DummyUtility"\n     interface="GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility name="dummy tool name"\n     interface="GenericSetup.tests.test_components.IDummyInterface"\n     object="/dummy_tool"/>\n  <utility name="dummy tool name2"\n     interface="GenericSetup.tests.test_components.IDummyInterface"\n     object="/test_folder_1_/dummy_tool"/>\n  <utility name="foo"\n     factory="GenericSetup.tests.test_components.DummyUtility"\n     interface="GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility component="GenericSetup.tests.test_components.dummy2"\n     interface="GenericSetup.tests.test_components.IDummyInterface2"/>\n </utilities>\n</componentregistry>\n' != '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n  <utility factory="Products.GenericSetup.tests.test_components.Du!
 mmyUtility"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility name="dummy tool name"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n     object="/dummy_tool"/>\n  <utility name="dummy tool name2"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n     object="/test_folder_1_/dummy_tool"/>\n  <utility name="foo"\n     factory="Products.GenericSetup.tests.test_components.DummyUtility"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility component="Products.GenericSetup.tests.test_components.dummy2"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface2"/>\n </utilities>\n</componentregistry>\n'



Failure in test test_body_set (GenericSetup.tests.test_components.ComponentRegistryXMLAdapterTests)
Traceback (most recent call last):
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Testing/ZopeTestCase/profiler.py", line 98, in __call__
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21/Products/GenericSetup/testing.py", line 100, in test_body_set
    self.assertEqual(adapted.body, self._BODY)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n  <utility factory="GenericSetup.tests.test_components.DummyUtility"\n     interface="GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility factory="Products.GenericSetup.tests.test_components.DummyUtility"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility name="dummy tool name"\n     interface="GenericSetup.tests.test_components.IDummyInterface"\n     object="/dummy_tool"/>\n  <utility name="dummy tool name"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n     object="/dummy_tool"/>\n  <utility name="dummy tool name2"\n     interface="GenericSetup.tests.test_components.IDummyInterface"\n     object="/test_folder_1_/dummy_tool"/>\n  <utility name="foo"\n     factory="GenericSetup.tests.test_components.DummyUtility"\n     interface="GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility compone!
 nt="GenericSetup.tests.test_components.dummy2"\n     interface="GenericSetup.tests.test_components.IDummyInterface2"/>\n </utilities>\n</componentregistry>\n' != '<?xml version="1.0"?>\n<componentregistry>\n <adapters/>\n <utilities>\n  <utility factory="Products.GenericSetup.tests.test_components.DummyUtility"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility name="dummy tool name"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n     object="/dummy_tool"/>\n  <utility name="dummy tool name2"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"\n     object="/test_folder_1_/dummy_tool"/>\n  <utility name="foo"\n     factory="Products.GenericSetup.tests.test_components.DummyUtility"\n     interface="Products.GenericSetup.tests.test_components.IDummyInterface"/>\n  <utility component="Products.GenericSetup.tests.test_components.dummy2"\n     interface="Products.GenericSetup.tests!
 .test_components.IDummyInterface2"/>\n </utilities>\n</componentregist
ry>\n'

  Ran 1126 tests with 2 failures and 0 errors in 70.797 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.916 seconds.
  Ran 52 tests with 0 failures and 0 errors in 0.891 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 1.372 seconds.
  Ran 21 tests with 0 failures and 0 errors in 8.515 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.068 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.177 seconds.
  Ran 45 tests with 0 failures and 0 errors in 0.618 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.127 seconds.
  Ran 49 tests with 0 failures and 0 errors in 0.398 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.962 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.800 seconds.
  Ran 42 tests with 0 failures and 0 errors in 8.542 seconds.
Tearing down left over layers:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.135 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
Total: 1335 tests, 2 failures, 0 errors

FAILED (failures=2)


More information about the cmf-tests mailing list