[Answered ]-Django.contrib.auth Unit tests fail with AUTHENTICATION_BACKENDS enabled

1👍

I was incorrect. Adding this hack to the setUP and tearDown methods to each individual class did work. Going to reach out to the community to find out if this is an actual bug.

1👍

You can find the bug and a patch here: https://code.djangoproject.com/ticket/13394. I am using 1.3.1 version of django and that patch was not applied yet (don’t know why, since it was created a few months ago). I applied manually and it worked!

Leave a comment