[Zope-CMF] Win32 Tests - CMF - errors:2

zope-tests@squishdot.org zope-tests@squishdot.org
Wed, 11 Dec 2002 02:11:31 +0000


==============================================================================
==============================================================================
Python Version:2.1.3 (#35, Apr  8 2002, 17:47:50) [MSC 32 bit (Intel)]

Modules included:
Zope (Zope-2_6-branch)
CMF (HEAD)

======================================================================
ERROR: test_simpleCalendarRendering (Products.CMFCalendar.tests.test_Calendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\CMFCalendar\tests\test_Calendar.py", line 144, in test_simpleCalendarRendering
    assert self.Tool.getEventsForCalendar(month='1', year='2002') == data, self.Tool.getEventsForCalendar(month='1', year='2002')
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\CMFCalendar\CalendarTool.py", line 108, in getEventsForCalendar
    events=self.catalog_getevents(year, month)
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\CMFCalendar\CalendarTool.py", line 149, in catalog_getevents
    sort_on='end')
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\ZCatalog\Lazy.py", line 58, in __add__
    seq = seq + other._seq
TypeError: unsupported operand types for +
======================================================================
ERROR: test_singleDayRendering (Products.CMFCalendar.tests.test_Calendar.TestCalendar)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\CMFCalendar\tests\test_Calendar.py", line 324, in test_singleDayRendering
    assert len(self.Site.portal_calendar.getEventsForThisDay(thisDay=DateTime('1/1/2002'))) == 1
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\CMFCalendar\CalendarTool.py", line 220, in getEventsForThisDay
    end_usage='range:min:max')
  File "D:\ZopeTests\sandbox\Zope\lib\python\Products\ZCatalog\Lazy.py", line 58, in __add__
    seq = seq + other._seq
TypeError: can only concatenate list (not "IISet") to list
----------------------------------------------------------------------
Ran 277 tests in 15.937s

FAILED (errors=2)