Hi,

I will stick with the html-response i guess, not keen and digging
through another framework right now.

@Ken
I'm using the 2.1 release right now (mainly because of Toscawidgets2)
and the second document doesnt work with this release (yet?), but
thanks for the link :)


On 15 Jan., 20:02, Ken Kuhlman <[email protected]> wrote:
> On Fri, Jan 15, 2010 at 8:02 AM, Diez B. Roggisch <[email protected]> wrote:
>
>
>
> > The answer is: no, if you go through webtest, you can't.
>
> > But why don't you instantiate your controller & just invoke the method? I
> > never tried that, but presume it's working. Give it a shot & let us know
> > what happens.
>
> > Diez
>
> Sure you can.. Under 1.1 & 1.5, your controller's output is available with
> webtest as response.raw.  
> See:http://docs.turbogears.org/1.1/Testing#testing-your-controller
>
> Under 2.x, it's response.namespace.   I've never used 2.x, but I found a
> testing doc at:http://docs.turbogears.org/2.0/RoughDocs/AppTesting
>
> -Ken
-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.


Reply via email to