[cmf-tests] FAILED (errors=2) : CMF-trunk Zope-2_9-branch Python-2.4.2 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Tue Feb 21 21:50:34 EST 2006


CMF Unit Tests : FAILED (errors=2)
CMF-trunk Zope-2_9-branch Python-2.4.2 : Linux

Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope29/test.py -q --config-file etc/zope.conf --path Products --test-path Products
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Application.py:383: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead.
  ('Could not initialze a Temporary Folder because '
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Application.py:598: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead.
  ('New disk product detected, determining if we need '
Parsing /home/stefan/autotest/temp/python24-zope29-cmf20/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.Portal.CMFSite.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCalendar.Event.Event.manage_afterAdd is deprecated and will be removed in Zope 2.11, you should use event subscribers instead, and meanwhile mark the class with <five:deprecatedManageAddDelete/>
  DeprecationWarning)


Error in test test_reindexObjectSecurity_missing_noraise (CMFCore.tests.test_CMFCatalogAware.CMFCatalogAwareTests)
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-zope29-cmf20/Products/CMFCore/tests/test_CMFCatalogAware.py", line 178, in test_reindexObjectSecurity_missing_noraise
    self.assertEqual( len(self.logged), 1 ) # logging because no raise
TypeError: len() of unsized object



Error in test test_allMetaTypes (CMFCore.tests.test_TypesTool.TypesToolTests)
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-zope29-cmf20/Products/CMFCore/tests/test_TypesTool.py", line 113, in test_allMetaTypes
    act = tool.unrestrictedTraverse(html_quote(factype['action']))
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Traversable.py", line 187, in unrestrictedTraverse
    next = bobo_traverse(REQUEST, name)
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/Five/traversable.py", line 101, in __bobo_traverse__
    if (len(REQUEST.get('TraversalRequestNameStack', ())) == 0 and
AttributeError: 'FakeRequest' object has no attribute 'RESPONSE'

  Ran 1231 tests with 0 failures and 2 errors in 76.474 seconds.

FAILED (errors=2)


More information about the cmf-tests mailing list