Re: [sqlalchemy] Re: how to make a transaction fail for testing?

2009-12-15 Thread Alex Brasetvik
On Dec 14, 2009, at 22:28 , iain duncan wrote: I guess for integration tests one could also monkey patch it to override the commit method? Some of the mocking frameworks will help you with that as well. :-) -- Alex Brasetvik -- You received this message because you are subscribed to the

[sqlalchemy] Re: how to make a transaction fail for testing?

2009-12-14 Thread iain duncan
thanks Alex. I guess for integration tests one could also monkey patch it to override the commit method? thanks iain On Dec 13, 2:47 pm, Alex Brasetvik a...@brasetvik.com wrote: On Dec 13, 2009, at 22:25 , iain duncan wrote: Hey folks, I'm wondering how I can make a transaction fail