Opened 12 years ago

Closed 12 years ago

#19839 closed Bug (fixed)

test is dependent on settings.py ordering: contrib.auth.tests.forms.PasswordResetFormTest.test_custom_email_subject

Reported by: limscoder Owned by: Claude Paroz
Component: contrib.auth Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The test 'contrib.auth.tests.forms.PasswordResetFormTest.test_custom_email_subject' is dependent on TEMPLATE_LOADER configuration order in settings.py

passes when:

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)

fails when:

TEMPLATE_LOADERS = (
    'django.template.loaders.app_directories.Loader',
    'django.template.loaders.filesystem.Loader',
)

Change History (2)

comment:1 by Claude Paroz, 12 years ago

Owner: changed from nobody to Claude Paroz
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 by Claude Paroz <claude@…>, 12 years ago

Resolution: fixed
Status: assignedclosed

In 5ec0405a09c4b05b7ee6c58bf52a06290143d788:

Fixed #19839 -- Isolated auth tests from customized TEMPLATE_LOADERS

Thanks limscoder for the report.

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