[cmf-tests] FAILED (failures=1, errors=1) : CMF-2.0 Zope-2.9 Python-2.4.3 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Sat Jun 10 22:10:41 EDT 2006


CMF Unit Tests : FAILED (failures=1, errors=1)
CMF-2.0 Zope-2.9 Python-2.4.3 : 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
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 182, in test_reindexObjectSecurity_missing_noraise
    self.assertEqual( len(self.logged), 1 ) # logging because no raise
TypeError: len() of unsized object



Failure in test test_LessThanDaysAhead (CMFTopic.tests.test_DateC.FriendlyDateCriterionFunctionalTests)
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/CMFTopic/tests/test_DateC.py", line 364, in test_LessThanDaysAhead
    self.assertEquals(len(results), resultset_size)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 1 != 2

  Ran 1261 tests with 1 failures and 1 errors in 101.283 seconds.

FAILED (failures=1, errors=1)


More information about the cmf-tests mailing list