[Zope-dev] Test isolation problems starting with zope.app.publisher 3.5.0a3

2008-03-13 Thread Christian Zagrodnick
Hi, starting with zope.app.publisher 3.5.0a3 I geht isolation problems with tests. When the second functional test layer is reached the menus are empty. I don't know why this is but I'm pretty sure ist has todo with the checkin below. On 2007-11-27 20:59:01 +0100, Juergen Kartnaller

Re: [Zope-dev] Character enconding problems in zope.formlib

2008-03-13 Thread Marius Gedminas
Hi, On Wed, Mar 12, 2008 at 04:20:09PM -0300, Marcelo de Moraes Serpa wrote: I'm using zope.formlib to generate some HTML forms and I'm having some issues with character enconding. The schema is like the followng: class IBoletoBancarioPaymentOptions( IPaymentProcessorOptions ):

[Zope-dev] Zope Tests: 5 OK

2008-03-13 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list. Period Wed Mar 12 12:00:00 2008 UTC to Thu Mar 13 12:00:00 2008 UTC. There were 5 messages: 5 from Zope Tests. Tests passed OK --- Subject: OK : Zope-2.8 Python-2.3.6 : Linux From: Zope Tests Date: Wed Mar 12 21:55:25 EDT 2008 URL:

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-13 Thread Jim Fulton
On Mar 13, 2008, at 12:11 AM, Paul Winkler wrote: On Tue, Mar 11, 2008 at 09:25:59AM -0400, Jim Fulton wrote: It is certainly straightforward enough to create isolated doctests. For edge cases, I do typically create separate isolated short doctests that deal just with that case. The

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-13 Thread Stephan Richter
On Thursday 13 March 2008, Paul Winkler wrote: On Tue, Mar 11, 2008 at 09:25:59AM -0400, Jim Fulton wrote: It is certainly straightforward enough to create isolated doctests.  For edge cases, I do typically create separate isolated short doctests that deal just with that case.  The

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-13 Thread Dieter Maurer
Benji York wrote at 2008-3-11 09:03 -0400: Dieter Maurer wrote: Looks at the ZODB tests. They make heavy use of multiple inheritance to compose test classes out of component test classes Good point; the ZODB tests make a great argument for using doctest over unittest. After you switched to

Re: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.

2008-03-13 Thread Dieter Maurer
Jim Fulton wrote at 2008-3-11 09:58 -0400: On Mar 11, 2008, at 9:46 AM, Andreas Jung wrote: ... You can also document your edgecase in the same way as comments within your unittests. This is true in theory, but in practice, it almost never happens. There is no guarantee that doctests will

Doctests and edge cases (was: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.)

2008-03-13 Thread Dieter Maurer
Andreas Jung wrote at 2008-3-11 06:43 +0100: ... This sounds like writing doctests just for sake of having doctests for all and everything. I completely disagree with that. In complex algorithms edgecases are often only of interest for the person implementing the code in order for having a

Communition over implementations (was: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.)

2008-03-13 Thread Dieter Maurer
David Pratt wrote at 2008-3-11 09:42 -0300: I think your response gets to the heart of the issue. For software to be useful, it is often more important for folks other than the author to understand it. This can only occur with communication. Sometimes it is the understanding of edgecases in

[Zope-dev] z3c:pagelet with template attribute error

2008-03-13 Thread Gaël Pasgrimaud
Hello, the z3c:pagelet directive have a strange behavior when you provide a template attribute. The template path is not resolved like in standard browser:page so when you try to call your pagelet you get a unicode is not callable error. I know that the way to associate a template to a pagelet