#24094: Unable to run a subset of template tests
---------------------------------+-------------------------------------
Reporter: timgraham | Owner: aaugustin
Type: Bug | Status: assigned
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 prestontimmons):
I took a look at this. I didn't find the exact issue, but I noticed a few
things:
1. The tests that fail all have "{% load custom %}".
2. The tags that cause the problem are inclusion tags that have a
"get_template" call in the decorator. Removing these removes the warnings.
3. I think there is a side-effect when template_tests.test_loaders is
imported by unittest discovery.
The tests pass with this command:
./runtests.py template_tests.test_loaders template_tests.syntax_tests
But fail in reverse:
./runtests.py template_tests.test_loaders template_tests.syntax_tests
--reverse
--
Ticket URL: <https://code.djangoproject.com/ticket/24094#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 [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.4df76fba73c7b6a57188e1c4017d847d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.