On Thu, Jul 26, 2007 at 01:09:54PM +0200, Marco Bizzarri wrote:
> The problem is what you're trying to test (and, therefore, to assert).
> Checking for equality is too fine grained, where you would check for
> the structure of the zpt, for example. A little parser could be
> useful.
testbrowser mi
On 7/26/07, Chris Gray <[EMAIL PROTECTED]> wrote:
Is there any standard way of unit testing the two page templating
methods in Zope 2?
Chris
If you're trying to test the output produced by a dtml/zpt, you could
try to invoke it, inside a zopetestcase.
Something like:
self.app.index_html =
--On 25. Juli 2007 18:46:13 -0400 Chris Gray <[EMAIL PROTECTED]>
wrote:
Is there any standard way of unit testing the two page templating
methods in Zope 2?
What does that mean? You might look at the unittests for ZPT and DTML.
-aj
pgpnibFH9EKjs.pgp
Description: PGP signature
Is there any standard way of unit testing the two page templating
methods in Zope 2?
Chris
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/m