On Jan 9, 2008, at 9:09 AM, Max Ischenko wrote:
What did you settled on for 0.9.7/1.0? Will the pylons.c be available somewhere under request var? IMO, this should make unit testing easier (simpler to mock the request).
The import in the controller is: from pylons import tmpl_context as cThis preserve's the short 'c' name, while adding a more self- documenting nature to the controller. No reason you couldn't attach it to the request for your own testing.
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature