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.

