Re: No ROLLBACK within TestCase on second database

2012-09-05 Thread Mike Dewhirst
On 5/09/2012 3:09pm, Kit Randel wrote: On 05/09/12 16:28, Mike Dewhirst wrote: I asked about this a couple of weeks ago and the correct solution is to use a TransactionTestCase Hi Mike, I don't want to be explicitly test transactional behaviour, which I think is the intention behind

Re: No ROLLBACK within TestCase on second database

2012-09-04 Thread Kit Randel
On 05/09/12 16:28, Mike Dewhirst wrote: I asked about this a couple of weeks ago and the correct solution is to use a TransactionTestCase Hi Mike, I don't want to be explicitly test transactional behaviour, which I think is the intention behind TransactionTestCase. I just want each test

Re: No ROLLBACK within TestCase on second database

2012-09-04 Thread Mike Dewhirst
On 5/09/2012 12:01pm, Kit Randel wrote: Hi there, I'm running into an issue on Django 1.2 where the second test in my test suite fails due to a duplicate key value violation. It appears that the issue is that calls to my 'default' db, test_app_django in this case, run within a transaction, but