[Zope-dev] Broken Unittest

Christian Theune ct at gocept.com
Tue Mar 2 16:04:32 EST 2004


Hi,

I address you directly because I haven't received feedback on this from
the zope-dev mailinglist and you have been the last ones touching code
in Products/DateIndex.

This test is breaking for me but not on Jeremys daily tests for Zope 2
on the HEAD:

======================================================================
FAIL: test_retrieval
(Products.PluginIndexes.DateIndex.tests.test_DateIndex.DI_Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/ctheune/Development/Zope/Zope/lib/python/Products/PluginIndexes/DateIndex/tests/test_DateIndex.py", line 184, in test_retrieval
    self.failUnlessEqual(len(index), len(values) - 2) # One dupe, one
empty
  File "/usr/lib/python2.3/unittest.py", line 302, in failUnlessEqual
    raise self.failureException, \
AssertionError: 8 != 9

----------------------------------------------------------------------

I tried debugging that but I don't know the internal interfaces of the
PluginIndexes well enough to not waste time.

I don't know which special information you could need. I'm running
pretty everything standard (python 2.3, linux with 2.6.3 kernel).

The Sandbox was compiled by:

  ./configure
  make
  make instance

The test was run by

  python2.3 test.py

This test is the only one that breaks and keeps me from checkin in
several changes for quite a while already.

Kind regards,
Christian

-- 
Christian Theune, gocept gmbh & co. kg
http://www.gocept.com - ct at gocept.com
fon: 03496 3099112 fax: 03496 3099118 mobile: 0179 7808366
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20040302/0d23a344/attachment.bin


More information about the Zope-Dev mailing list