I'm using apache2 along with RemoteUserBackend as an
AUTHENTICATION_BACKEND to pass in REMOTE_USER. When this is enabled
the built in unit tests are failing [1]. Its obvious there are no
users created and this fails, however should this be classified as a
bug??? I haven't been able to find anything in the bug tracker.
Adding the following to each classes setUP and tearDown methods lets
me around this.
from django.conf import settings
def setUp(self):
self.old_backend = settings.AUTHENTICATION_BACKENDS
settings.AUTHENTICATION_BACKENDS = None
def tearDown(self):
settings.AUTHENTICATION_BACKENDS = self.old_backend
1. http://pastebin.com/xX4dmuzr
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.