Opened 6 years ago

Closed 6 years ago

#17226 closed Bug (needsinfo)

Django TestCase and settings.AUTHENTICATION_BACKENDS

Reported by: taraslyapun@… Owned by: nobody
Component: Testing framework Version: 1.3-rc
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I specify in my

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?

Change History (1)

comment:1 Changed 6 years ago by Julien Phalip

Resolution: needsinfo
Status: newclosed

Thanks for the report but I'm afraid more information is required to determine what's going on. You may reopen this ticket but please provide a specific test case clearly demonstrating the issue. Thanks!

Note: See TracTickets for help on using tickets.
Back to Top