[Zope-dev] Re: Unit Test Failures

Tres Seaver tseaver at palladion.com
Mon Dec 19 10:14:08 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benji York wrote:

> The Zope2 unit tests have been failing for some time on
> buildbot.zope.com.  Looks like a Five-related problem:
> http://buildbot.zope.org/Zope%20trunk%202.4%20Linux%20zc-buildbot/builds/109/test/0

The failing test is a functional test, not a unit test;  I don't run
them by default when I check in.  I see a couple of problem points:  the
biggest is the use in the output of 'checkSiteManager.html' of a repr'ed
dict, which might render differently between different machines (or even
the same machine across Python versions).  This is a classic case where
the "doctest" does *not* provide clarity over a "traditional" 'unittest'
style test, IMNSHO.

I'm not sure what it is testing, either;  CC'ing Phillip, whose
fingerprints are on it, according the 'svn blame', for clarification.


Tres.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDps5A+gerLs4ltQ4RAn2DAKDJ4PUXUGY8pGHI4RcSU6qUQm2FRgCdHTEM
GNgrBRn/Y70IbuAhuJ48GGM=
=0Um3
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list