Opened 5 years ago

Closed 4 years ago

#17948 closed Bug (fixed)

changing template loaders to default before testing

Reported by: andrey@… Owned by: nobody
Component: Testing framework Version: master
Severity: Normal Keywords:
Cc: Claude Paroz Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

it is possible now to use jinja2 template loaders, which is not compatible with django. django.contrib.auth tests use django templates and application's default template loader. Some tests dies.

Attachments (1)

django-tests-loader.patch (1.4 KB) - added by andrey@… 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by andrey@…

Attachment: django-tests-loader.patch added

comment:1 Changed 4 years ago by Jannis Leidel

Component: contrib.authTesting framework
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

Seems like a good idea, to isolate those settings.

comment:2 Changed 4 years ago by Claude Paroz <claude@…>

Resolution: fixed
Status: newclosed

In c7f44ae085df3a270aa998cdedb56f36900cb9ef:

Fixed #17948 -- Isolated auth tests from custom template loaders

Thanks andrey@… for the report.

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