Opened 16 years ago

Closed 15 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

Description

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 by Arthur Koziel, 16 years ago

Component: AuthenticationTesting framework

comment:2 by Alex Gaynor, 15 years ago

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