Re: running a controller method outside wsgi app

2009-01-19 Thread Roberto Allende
Wichert Akkerman escribió: Previously Dalius Dobravolskas wrote: Hello, On Mon, Jan 19, 2009 at 7:44 AM, Roberto Allende ro...@menttes.com wrote: My motivation is to write a unit testing but even in other cases it could have sense to use a controller function isolated

running a controller method outside wsgi app

2009-01-18 Thread Roberto Allende
Hello I would like to run a controller method outside a wsgi app and i'm getting TypeError: No object (name: C) has been registered for this thread That method uses the pylons variable c and when it is used, in a piece of code like c.title = page.title it raises the exception. I tried using