Opened 17 years ago
Closed 16 years ago
#10755 closed (duplicate)
contrib.auth.tests.views.PasswordResetTest fails with custom template
| Reported by: | 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 , 17 years ago
| Component: | Authentication → Testing framework |
|---|
comment:2 by , 16 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is a dupe of another ticket that tracks that auth tests fail with custom templates.