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

CMF Unit Tests cmf-tests at epy.co.at
Sat Jul 22 22:13:20 EDT 2006


CMF Unit Tests : FAILED (errors=11)
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 726, 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 726, 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.



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

/home/stefan/autotest/temp/python24-zope29-cmf16/Products/CMFCore/utils.py:160: DeprecationWarning: __call__() and view() methods using _getViewFor() as well as _getViewFor() itself are deprecated and will be removed in CMF 2.0. Bypass these methods by defining '(Default)' and 'view' Method Aliases.
  DeprecationWarning)
/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
  Ran 1195 tests with 0 failures and 11 errors in 84.474 seconds.

FAILED (errors=11)


More information about the cmf-tests mailing list