#20806: Cached template loader doesn't cache find_template
---------------------------------+------------------------------------
     Reporter:  gwahl@…          |                    Owner:  gwahl@…
         Type:  New feature      |                   Status:  new
    Component:  Template system  |                  Version:  master
     Severity:  Normal           |               Resolution:
     Keywords:                   |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  1                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+------------------------------------

Comment (by gwahl@…):

 The `find_template` method actually already has 100% coverage, including
 the code paths for 'found in cache' and 'not found in cache'. I'll attach
 the coverage report.

 I did notice that there's no test for adding `template_dirs` to the cache
 key (this was added in #13573, but there was no test). Would it be
 appropriate to add the test for that here?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20806#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/077.6d6a310c3f17ff0c88c069aea1c89554%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to