Re: z3c.zrtresource fail (Re: Zope Tests: 41 OK, 13 Failed)
Marius Gedminas <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <20101219204748.GB10453@platonas> |
On Sun, Dec 19, 2010 at 10:09:42PM +0200, Marius Gedminas wrote: > On Sun, Dec 19, 2010 at 06:45:11PM +0200, Marius Gedminas wrote: > > > Subject: FAILED : winbot / z3c.zrtresource_py_265_32 > > > From: buildbot at winbot.zope.org > > > Date: Sat Dec 18 23:12:56 EST 2010 > > > URL: http://mail.zope.org/pipermail/zope-tests/2010-December/027074.html > > > > The only differences I see between expected and actual output are in > > whitespace. > > Because the flip from "color: green" to "color: red" was lost in the > noise. > > Added REPORT_NDIFF to optionflags to make this less painful in the > future. > > Looking for causes now. So, the test assumed that zope.browserresource reloaded the contents of the file when it changed on disk. Which is partially true -- that's what you can observe in real life in running servers. Not because there's some kind of mtime-checking, but because every request instantiates new resource factories. Changed the test to do the same thing, and now it passes. Marius Gedminas -- http://pov.lt/ -- Zope 3/BlueBream consulting and development _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk0Ob3QACgkQkVdEXeem14+f/gCeJSKc3Oj8Adq/MPgLV1aGKOvP FEcAoJHS+iZhtZ4oGJ5eR1tT+YMOEnnX =1k8V -----END PGP SIGNATURE-----