#17226: Django TestCase and settings.AUTHENTICATION_BACKENDS
-----------------------------------+---------------------
Reporter: taraslyapun@… | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.3-rc1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+---------------------
I specify in my settings.py:
{{{
AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',)
}}}
When I run test-server or shell settings.AUTHENTICATION_BACKENDS ==
('django.contrib.auth.backends.ModelBackend',) and this is good.
But if I run test: settings.AUTHENTICATION_BACKENDS =
['django.contrib.auth.backends.RemoteUserBackend'], and I can't test
authentication.
This is bug or I don't understand something?
--
Ticket URL: <https://code.djangoproject.com/ticket/17226>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en.