Opened 12 years ago

Closed 11 years ago

#10755 closed (duplicate)

contrib.auth.tests.views.PasswordResetTest fails with custom template

Reported by: Atamert Ölçgen <muhuk@…> Owned by: nobody
Component: Testing framework Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


contrib.auth.tests.views.PasswordResetTest assumes templates are compatible with registration/ templates and installs its own urlconf. My custom registration/ template has a url tag that naturally doesn't exist in django.contrib.auth.urls conf, causing these tests to fail.

ChangePasswordTest OTOH plays nice and installs its own templates. (setUp() & tearDown())

Change History (2)

comment:1 Changed 11 years ago by Arthur Koziel

Component: AuthenticationTesting framework

comment:2 Changed 11 years ago by Alex Gaynor

Resolution: duplicate
Status: newclosed

This is a dupe of another ticket that tracks that auth tests fail with custom templates.

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