Re: always rollback decorator

2008-09-09 Thread Malcolm Tredinnick
On Tue, 2008-09-09 at 10:35 +0200, Thomas Guettler wrote: [...] > I use Postgres supports nested transaction by using savepoints. > > Unfortunately I can't get it working: I try to use savepoints, but they > get lost > as soon is the commit_on_success decorator sends COMMIT. That's how

always rollback decorator

2008-09-09 Thread Thomas Guettler
Hi, I try to write an always_rollback decorator like the commit_on_success one. I want to use it to test a live system without changing it. I use Postgres supports nested transaction by using savepoints. Unfortunately I can't get it working: I try to use savepoints, but they get lost as soon