#12089: test client fails to collect sub-contexts
---------------------------------------------+------------------------------
Reporter: akaihola | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: SVN
Resolution: | Keywords: template context
TestClient
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by russellm):
* stage: Unreviewed => Design decision needed
Comment:
I can see what you're trying to do, and the patch makes sense - my concern
is the potential for backwards incompatibility. Any template that has a
'with' and 'include' will suddenly acquire a whole lot more contexts in
the test output; if you're testing the number of contexts, or if the
subcontext introduces a variable that wasn't previously being tested
against, you could start to get test failures (or worse, false passes).
--
Ticket URL: <http://code.djangoproject.com/ticket/12089#comment:10>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.