[cmf-tests] FAILED (failures=3) : CMF-1.5 Zope-2.9 Python-2.4.4 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Mon Dec 4 22:11:32 EST 2006


CMF Unit Tests : FAILED (failures=3)
CMF-1.5 Zope-2.9 Python-2.4.4 : 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
2006-12-05 03:54:44 ERROR Zope Zope Default Object Creation: Could not initialze a Temporary Folder because a database was not configured to be mounted at the /temp_folder mount point
Parsing /home/stefan/autotest/temp/python24-zope29-cmf15/etc/zope.conf
Running unit tests:


Failure in test test_firstDayRendering (CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-cmf15/Products/CMFCalendar/tests/test_Calendar.py", line 574, in test_firstDayRendering
    self.assertEqual([events[e] for e in range(1, 8)], data)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [{'eventslist': [], 'day': 1, 'event': 0}, {'eventslist': [], 'day': 2, 'event': 0}, {'eventslist': [], 'day': 3, 'event': 0}, {'eventslist': [], 'day': 4, 'event': 0}, {'eventslist': [], 'day': 5, 'event': 0}, {'eventslist': [], 'day': 6, 'event': 0}, {'eventslist': [], 'day': 7, 'event': 0}] != [{'eventslist': [{'start': '00:00:00', 'end': '00:10:00', 'title': 'today'}], 'day': 1, 'event': 1}, {'eventslist': [], 'day': 2, 'event': 0}, {'eventslist': [], 'day': 3, 'event': 0}, {'eventslist': [], 'day': 4, 'event': 0}, {'eventslist': [], 'day': 5, 'event': 0}, {'eventslist': [], 'day': 6, 'event': 0}, {'eventslist': [], 'day': 7, 'event': 0}]



Failure in test test_getBeginAndEndTimes (CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-cmf15/Products/CMFCalendar/tests/test_Calendar.py", line 412, in test_getBeginAndEndTimes
    ( DateTime('2001/12/1 12:00:00AM'),
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: (DateTime('2001/12/01'), DateTime('2001/12/01 23:59:59 GMT+0')) != (DateTime('2001/12/01'), DateTime('2001/12/01 23:59:59 GMT+1'))



Failure in test test_lastDayRendering (CMFCalendar.tests.test_Calendar.CalendarRequestTests)
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-cmf15/Products/CMFCalendar/tests/test_Calendar.py", line 546, in test_lastDayRendering
    self.assertEqual([events[e] for e in range(25, 32)], data)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [{'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 25, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 26, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 27, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 28, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 29, 'event': 1}, {'eventslist': [{'start': None, 'end': None, 'title': 'tomorrow'}], 'day': 30, 'event': 1}, {'eventslist': [{'start': '23:50:00', 'end': '23:59:59', 'title': 'today'}, {'start': None, 'end': '00:10:00', 'title': 'tomorrow'}], 'day': 31, 'event': 1}] != [{'eventslist': [], 'day': 25, 'event': 0}, {'eventslist': [], 'day': 26, 'event': 0}, {'eventslist': [], 'day': 27, 'event': 0}, {'eventslist': [], 'day': 28, 'event': 0}, {'eventslist': [], 'day': 29, 'event': 0}, {'eventslist': [], 'day': 30, 'event': 0}, !
 {'eventslist': [{'start': '23:50:00', 'end': '23:59:59', 'title': 'today'}], 'day': 31, 'event': 1}]

/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.tests.base.dummy.DummyContent.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-cmf15/Products/CMFCore/CMFCatalogAware.py:123: DeprecationWarning: The zLOG package is deprecated and will be removed in Zope 2.11. Use the Python logging module instead.
  "Cannot get %s from catalog" % brain_path)
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_beforeDelete 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: CMFCore.tests.test_OpaqueItems.DummyContent.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: CMFCore.tests.test_OpaqueItems.DummyContent.manage_afterClone 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.PortalContent.PortalContent.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.PortalContent.PortalContent.manage_afterClone 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.tests.base.dummy.DummyContent.manage_beforeDelete 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.tests.base.dummy.DummyContent.manage_afterClone 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)
2006-12-05 03:55:04 ERROR Zope.ZCatalog uncatalogObject unsuccessfully attempted to uncatalog an object with a uid of /bar/site/test/sub/foo. 
/home/stefan/autotest/temp/python24-zope29-cmf15/Products/CMFCore/tests/test_PortalFolder.py:539: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
  transaction.commit(1)
/home/stefan/autotest/temp/python24-zope29-cmf15/Products/CMFCore/tests/test_PortalFolder.py:470: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
  transaction.commit(1)
2006-12-05 03:55:04 ERROR Zope.ZCatalog uncatalogObject unsuccessfully attempted to uncatalog an object with a uid of /bar/site/folder/sub/foo. 
/home/stefan/autotest/temp/python24-zope29-cmf15/Products/CMFCore/tests/test_PortalFolder.py:489: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
  transaction.commit(1)
/home/stefan/autotest/temp/python24-zope29-cmf15/Products/CMFCore/tests/test_PortalFolder.py:894: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
  transaction.commit(1)
/home/stefan/autotest/temp/python24-zope29-cmf15/Products/CMFCore/tests/test_PortalFolder.py:1124: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
  transaction.commit(1) # get a _p_jar for 'sub'
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFCore.PortalFolder.PortalFolder.manage_afterClone 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.CMFDefault.Document.Document.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.CMFDefault.File.File.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.CMFDefault.Image.Image.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-cmf15/Products/CMFDefault/tests/test_Image.py:132: DeprecationWarning: This will be removed in ZODB 3.7:
subtransactions are deprecated; use transaction.savepoint() instead of transaction.commit(1)
  transaction.commit(1) # Make sure we have _p_jars
/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/subscribers.py:74: DeprecationWarning: Products.CMFDefault.File.File.manage_afterClone 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.CMFDefault.File.File.manage_beforeDelete 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.CMFDefault.Image.Image.manage_afterClone 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.CMFDefault.Image.Image.manage_beforeDelete 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.CMFBTreeFolder.CMFBTreeFolder.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.CMFTopic.Topic.Topic.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)
  Ran 1043 tests with 3 failures and 0 errors in 32.297 seconds.

FAILED (failures=3)


More information about the cmf-tests mailing list