Re: Django 1.6 test cases for code which calls transaction.set_autocommit()

2014-03-07 Thread Justin Michalicek
On Friday, March 7, 2014 2:58:29 AM UTC-5, Anssi Kääriäinen wrote: > > On Friday, March 7, 2014 12:11:59 AM UTC+2, Justin Michalicek wrote: >> >> It appears that due to test cases running in an atomic block, testing >> methods which use transaction.set_autocommit() all fail. I've got a small >

Re: Django 1.6 test cases for code which calls transaction.set_autocommit()

2014-03-06 Thread Anssi Kääriäinen
On Friday, March 7, 2014 12:11:59 AM UTC+2, Justin Michalicek wrote: > > It appears that due to test cases running in an atomic block, testing > methods which use transaction.set_autocommit() all fail. I've got a small > handful of test cases around methods which need to use manual transaction

Django 1.6 test cases for code which calls transaction.set_autocommit()

2014-03-06 Thread Justin Michalicek
It appears that due to test cases running in an atomic block, testing methods which use transaction.set_autocommit() all fail. I've got a small handful of test cases around methods which need to use manual transaction management and they are definitely working when I actually use the site, but