Re: Postgresql and transactions, revisited

2007-08-01 Thread Nis Jørgensen
Russell Keith-Magee scribit: > On 7/31/07, Nis Jørgensen <[EMAIL PROTECTED]> wrote: > >> I had the problem that any db error in any of my tests (including >> setups) would cause all following tests to fail (because the transaction >> was not rolled back). This was made even worse by the fact th

Re: Postgresql and transactions, revisited

2007-07-31 Thread Russell Keith-Magee
On 7/31/07, Nis Jørgensen <[EMAIL PROTECTED]> wrote: > I had the problem that any db error in any of my tests (including > setups) would cause all following tests to fail (because the transaction > was not rolled back). This was made even worse by the fact that I used > the db in tearDown, which

Postgresql and transactions, revisited

2007-07-30 Thread Nis Jørgensen
I want to use the test framework with my application, using postgresql/psycopg2. I had the problem that any db error in any of my tests (including setups) would cause all following tests to fail (because the transaction was not rolled back). This was made even worse by the fact that I used the db