#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: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Comment (by akaihola):
Replying to [comment:8 anonymous]:
> Any other workarounds? because I want to track the SVN closely.
Rebasing with trunk has worked so well that I haven't considered other
options. It would be trivial to subclass `django.test.Client` and override
`request()` to use the patched version of `store_rendered_templates()`.
However, then you might miss changes in trunk to the `request()` method.
In that sense forking and rebasing is a better alternative.
--
Ticket URL: <http://code.djangoproject.com/ticket/12089#comment:9>
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.