Re: [Zope3-Users] Calling a view in a doc test

2007-06-19 Thread Marius Gedminas
On Mon, Jun 18, 2007 at 10:14:14PM +0200, Florian Lindner wrote: > Am Dienstag, 5. Juni 2007 schrieb Marius Gedminas: > > I would suggest that you remove everything and keep just > > > > def blogSetUp(test): > > zope.testing.module.setUp(test, 'Blog.doctest') > > it worked after I've added the

Re: [Zope3-Users] Calling a view in a doc test

2007-06-18 Thread Florian Lindner
Am Dienstag, 5. Juni 2007 schrieb Marius Gedminas: > On Tue, Jun 05, 2007 at 04:49:37PM +0200, Florian Lindner wrote: > > Am Montag, 4. Juni 2007 schrieb Marius Gedminas: > > > On Mon, Jun 04, 2007 at 03:14:16PM +0200, Florian Lindner wrote: > > > > in a doctest I have an object which has a view re

Re: [Zope3-Users] Calling a view in a doc test

2007-06-05 Thread Marius Gedminas
On Tue, Jun 05, 2007 at 04:49:37PM +0200, Florian Lindner wrote: > Am Montag, 4. Juni 2007 schrieb Marius Gedminas: > > On Mon, Jun 04, 2007 at 03:14:16PM +0200, Florian Lindner wrote: > > > in a doctest I have an object which has a view registered. > > > I want to call this view and test for the X

Re: [Zope3-Users] Calling a view in a doc test

2007-06-05 Thread Florian Lindner
Am Montag, 4. Juni 2007 schrieb Marius Gedminas: > On Mon, Jun 04, 2007 at 03:14:16PM +0200, Florian Lindner wrote: > > Hello, > > in a doctest I have an object which has a view registered. > > I want to call this view and test for the XML it returns. > > How can I call the view so that it is being

Re: [Zope3-Users] Calling a view in a doc test

2007-06-04 Thread Marius Gedminas
On Mon, Jun 04, 2007 at 03:14:16PM +0200, Florian Lindner wrote: > Hello, > in a doctest I have an object which has a view registered. > I want to call this view and test for the XML it returns. > How can I call the view so that it is being rendered, just like called by a > browser? Is that in a

Re: [Zope3-Users] Calling a view in a doc test

2007-06-04 Thread Jim Washington
Florian Lindner wrote: > Hello, > in a doctest I have an object which has a view registered. > I want to call this view and test for the XML it returns. > How can I call the view so that it is being rendered, just like called by a > browser? > > Thanks, > > Florian > __

[Zope3-Users] Calling a view in a doc test

2007-06-04 Thread Florian Lindner
Hello, in a doctest I have an object which has a view registered. I want to call this view and test for the XML it returns. How can I call the view so that it is being rendered, just like called by a browser? Thanks, Florian ___ Zope3-users mailing lis