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 a mock object but it didn't work neither. My motivation is to write a unit testing but even in other cases it could have sense to use a controller function isolated. Or at least in my case, this is the only restriction. I'm planning to keep studing how c defined but probably you can give me a hint in order to move faster, so any comment or help would be very welcome. Kind Regards r. -- http://menttes.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
