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?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/59e318ed-406a-4cb1-ac77-212480816faa%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to