[cmf-tests] FAILED (errors=10) : CMF-1.6 Zope-2.9 Python-2.4.3 : Linux

CMF Unit Tests cmf-tests at epy.co.at
Mon Jun 5 22:03:15 EDT 2006


CMF Unit Tests : FAILED (errors=10)
CMF-1.6 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-cmf16/etc/zope.conf
Running unit tests:


Error in test test_EventEndingMidnight (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 626, in test_EventEndingMidnight
    self.Site.portal_workflow.doActionFor(self.Site.party, 'publish')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error in test test_eventCalendarRenderingIssue411 (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 301, in test_eventCalendarRenderingIssue411
    comment='testing')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error 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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 562, in test_firstDayRendering
    self.Site.portal_workflow.doActionFor(self.Site.yesterday, 'publish')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error 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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 534, in test_lastDayRendering
    self.Site.portal_workflow.doActionFor(self.Site.today, 'publish')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error in test test_noSessions (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 152, in test_noSessions
    self._testURL('/CalendarTest/calendarBox', ())
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 137, in _testURL
    obj = Site.restrictedTraverse(url)
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Traversable.py", line 250, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=1)
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Traversable.py", line 226, in unrestrictedTraverse
    next=obj[name]
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/ObjectManager.py", line 725, in __getitem__
    raise KeyError, key
KeyError: 'calendarBox'



Error in test test_sessions (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 145, in test_sessions
    self._testURL('/CalendarTest/calendarBox', ())
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 137, in _testURL
    obj = Site.restrictedTraverse(url)
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Traversable.py", line 250, in restrictedTraverse
    return self.unrestrictedTraverse(path, default, restricted=1)
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/Traversable.py", line 226, in unrestrictedTraverse
    next=obj[name]
  File "/home/stefan/autotest/temp/python24-zope29/lib/python/OFS/ObjectManager.py", line 725, in __getitem__
    raise KeyError, key
KeyError: 'calendarBox'



Error in test test_singleDayRendering (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 437, in test_singleDayRendering
    wftool.doActionFor(event, 'publish', comment='testing')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error in test test_singleEventCalendarRendering (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 228, in test_singleEventCalendarRendering
    comment='testing')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error in test test_spanningEventCalendarRendering (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 349, in test_spanningEventCalendarRendering
    comment='testing')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.



Error in test test_workflowStateRendering (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-cmf16/Products/CMFCalendar/tests/test_Calendar.py", line 596, in test_workflowStateRendering
    self.Site.portal_workflow.doActionFor(self.Site.meeting, 'publish')
  File "/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/WorkflowTool.py", line 286, in doActionFor
    raise WorkflowException('No workflows found.')
WorkflowException: No workflows found.

/home/stefan/autotest/temp/python24-zope29-cmf16/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-cmf16/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-cmf16/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)
/home/stefan/autotest/temp/python24-zope29-cmf16/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-cmf16/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-cmf16/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-cmf16/Products/CMFDefault/tests/test_Image.py:162: 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-cmf16/Products/CMFDefault/tests/test_Portal.py:233: DeprecationWarning: manage_addCMFSite is a deprecated way to create a CMF site;  in the future, please use 'CMFDefault.factory.addConfiguredSite'.  manage_addCMFSite will be removed in CMF 2.0.
  manage_addCMFSite( self.root, id )
  Ran 1189 tests with 0 failures and 10 errors in 78.687 seconds.

FAILED (errors=10)


More information about the cmf-tests mailing list