Code

Opened 2 years ago

Closed 22 months 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: claudep 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@… 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by andrey@…

comment:1 Changed 2 years ago by jezdez

  • Component changed from contrib.auth to Testing framework
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Seems like a good idea, to isolate those settings.

comment:2 Changed 22 months ago by Claude Paroz <claude@…>

  • Resolution set to fixed
  • Status changed from new to closed

In c7f44ae085df3a270aa998cdedb56f36900cb9ef:

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

Thanks andrey@… for the report.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.