Hello,
If I enable django.contrib.auth.middleware.RemoteUserMiddleware, even if I set AUTHENTICATION_BACKEND to contain both RemoteUserBackend and ModelBackend, my test cases stop working. However, using the runserver environment, everything looks just fine regardless if I have REMOTE_USER set (and I get logged in successfully with REMOTE_USER set to the correct value).
Do I have to change anything in my tests for this to work?
For the record, I use django_webtest for most of my tests.
Best,
Gergely