#24094: Unable to run a subset of template tests
---------------------------------+------------------------------------
     Reporter:  timgraham        |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by aaugustin):

 I can reproduce this.

 I understand why these tests fail -- they run isolated from Django
 settings, and to make sure they don't accidentally use a globally
 configured `DjangoTemplates` engine, `TEMPLATES` is set to `None` for
 these tests.

 What I fail to understand is why they pass when not run in isolation e.g.
 `./runtests.py template_tests`. Perhaps I missed some cases when handling
 the `setting_changed` signal.

--
Ticket URL: <https://code.djangoproject.com/ticket/24094#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7b4dcd46656bed0ab7d0d2f78a48a673%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to