[Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/ Added
zope.app.pagelet package from 'svn.tiks.org' repository
Roger Ineichen
dev at projekt01.ch
Thu Jan 20 03:56:20 EST 2005
Hi Jim, thanks Fred
> -----Original Message-----
> From: zope3-dev-bounces+dev=projekt01.ch at zope.org
> [mailto:zope3-dev-bounces+dev=projekt01.ch at zope.org] On
> Behalf Of Jim Fulton
> Sent: Wednesday, January 19, 2005 10:56 PM
> To: Roger Ineichen
> Cc: zope3-dev at zope.org
> Subject: [Zope3-dev] Re: [Zope3-checkins] SVN: Zope3/trunk/
> Added zope.app.pagelet package from 'svn.tiks.org' repository
>
> Roger Ineichen wrote:
> > Log message for revision 28392:
> > Added zope.app.pagelet package from 'svn.tiks.org' repository
>
> ...
>
>
> > +Setup a view page template called 'index':
> > +
> > + >>> from zope.app.pagelet.tests import testfiles
> > + >>> index = ViewPageTemplateFile('index_pagelets.pt',
> > + ... 'src/zope/app/pagelet/tests/testfiles')
> > +
>
> Using a relative path here makes the test too dependent
> on how the test was run. This test fails if run from
> an instance, for example.
>
> When using file paths in tests, they need to be computed
> relative to the directory containing the tests.
>
> Roger, can you fix this?
>
> Jim
Fred Drake did allready? Thanks.
I changed some comments for a better understanding.
Then some parts of the logic are in the Index_pagelet.pt
template.
Regards
Roger Ineichen
Projekt01 GmbH
www.projekt01.ch
_____________________________
END OF MESSAGE
>
> --
> Jim Fulton mailto:jim at zope.com Python Powered!
> CTO (540) 361-1714 http://www.python.org
> Zope Corporation http://www.zope.com http://www.zope.org
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub:
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
>
>
More information about the Zope3-dev
mailing list