[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 Sep 4 22:10:46 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
2006-09-05 03:48:32 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-cmf16/etc/zope.conf
Running unit tests:
2006-09-05 03:48:39 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:39 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:39 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:39 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:39 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:39 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:39 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:39 WARNING GenericSetup.properties Export adapter missing.
2006-09-05 03:48:39 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Export adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Export adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:40 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Export adapter missing.


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 728, in __getitem__
    raise KeyError, key
KeyError: 'calendarBox'

2006-09-05 03:48:40 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:40 WARNING GenericSetup.properties Export adapter missing.


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 728, in __getitem__
    raise KeyError, key
KeyError: 'calendarBox'

2006-09-05 03:48:40 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:41 WARNING GenericSetup.properties Export adapter missing.
2006-09-05 03:48:41 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:41 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:41 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:41 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:41 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:41 WARNING GenericSetup.properties Export adapter missing.


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.

2006-09-05 03:48:41 WARNING GenericSetup.properties Import adapter missing.
2006-09-05 03:48:41 WARNING GenericSetup.properties Export adapter missing.


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/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 1198 tests with 0 failures and 10 errors in 81.230 seconds.

FAILED (errors=10)


More information about the cmf-tests mailing list