[cmf-tests] FAILED (errors=14) : CMF-2.0 Zope-2.9 Python-2.4.3 :
Linux
CMF Unit Tests
cmf-tests at epy.co.at
Tue May 30 21:50:27 EDT 2006
CMF Unit Tests : FAILED (errors=14)
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:
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 645, in test_EventEndingMidnight
, end_date=day_after
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 303, in test_eventCalendarRenderingIssue411
self.Site.Members.invokeFactory(type_name="Event",id='Event1')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 577, in test_firstDayRendering
end_date='2002/05/31 23:59:59')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 549, in test_lastDayRendering
end_date='2002/05/31 23:59:59')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
Error in test test_noSessions_fiveview (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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 173, in test_noSessions_fiveview
self._testURL('/CalendarTest/@@calendar_widget', ())
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 144, 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: '@@calendar_widget'
Error in test test_noSessions_skinsview (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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 166, in test_noSessions_skinsview
self._testURL('/CalendarTest/calendarBox', ())
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 144, 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_fiveview (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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 159, in test_sessions_fiveview
self._testURL('/CalendarTest/@@calendar_widget', ())
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 144, 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: '@@calendar_widget'
Error in test test_sessions_skinsview (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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 152, in test_sessions_skinsview
self._testURL('/CalendarTest/calendarBox', ())
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 144, 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_simpleCalendarRendering (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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 225, in test_simpleCalendarRendering
result = self.Tool.getEventsForCalendar(month='5', year='2002')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCalendar/CalendarTool.py", line 162, in getEventsForCalendar
events = self.catalog_getevents(year, month)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCalendar/CalendarTool.py", line 191, in catalog_getevents
sort_on='start' )
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/CatalogTool.py", line 205, in searchResults
return ZCatalog.searchResults(self, REQUEST, **kw)
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/ZCatalog/ZCatalog.py", line 688, in searchResults
return self._catalog.searchResults(REQUEST, used, **kw)
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/ZCatalog/Catalog.py", line 726, in searchResults
sort_index = self._getSortIndex(args)
File "/home/stefan/autotest/temp/python24-zope29/lib/python/Products/ZCatalog/Catalog.py", line 709, in _getSortIndex
raise CatalogError, 'Unknown sort_on index (%s)' % sort_index_name
CatalogError: Unknown sort_on index (start)
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 442, in test_singleDayRendering
self.Site.Members.invokeFactory(type_name="Event",id='Event1')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 230, in test_singleEventCalendarRendering
self.Site.Members.invokeFactory(type_name="Event",id='Event1')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 351, in test_spanningEventCalendarRendering
self.Site.Members.invokeFactory(type_name="Event",id='Event1')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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-cmf20/Products/CMFCalendar/tests/test_Calendar.py", line 605, in test_workflowStateRendering
end_date='2002/05/01 13:30:00')
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/PortalFolder.py", line 310, in invokeFactory
return pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/stefan/autotest/temp/python24-zope29-cmf20/Products/CMFCore/TypesTool.py", line 680, in constructContent
raise ValueError('No such content type: %s' % type_name)
ValueError: No such content type: Event
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 184, in test_reindexObjectSecurity_missing_noraise
self.assertEqual( len(self.logged), 1 ) # logging because no raise
TypeError: len() of unsized object
Ran 1258 tests with 0 failures and 14 errors in 78.436 seconds.
FAILED (errors=14)
More information about the cmf-tests
mailing list