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 management and they are definitely working when I actually use the site, but in test cases they all fail and raise the exception "TransactionManagementError: This is forbidden when an 'atomic' block is active." at the line where I call transaction.set_autocommit(False)
Is there something I'm missing here?