Best unit testing module for pylons REST api calls

2009-01-07 Thread csismondo
I have a controller that I want to build unit test for, the controller is a web-based REST api, and I would like to know what you guys would recommend for a module. Thanks in advance, Charles --~--~-~--~~~---~--~~ You received this message because you are subscrib

Re: Best unit testing module for pylons REST api calls

2009-01-08 Thread csismondo
Thanks guys, That is a great start, I'm building unit tests as well as production test suites from the ground up, all this info is very helpful! Anymore tips out there? Thanks, Charles --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Unable to get access to c variable to close out my sqlalchemy session

2009-04-29 Thread csismondo
I have a session_maker at the g instance that hands out sessions and stores a reference to them at c. Then, on the __after__ I close out the c.session with: if c.session: c.session.close() This works great, except when I get a 500 error. The __after__ call fires, but the c.session is no lon