#9159: testing Client support for middleware
----------------------------------------+-----------------------------------
Reporter: hvendelbo | Owner: nobody
Status: new | Milestone:
Component: Testing framework | Version: 1.0
Resolution: | Keywords: middleware testclient
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
----------------------------------------+-----------------------------------
Changes (by carljm):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
There are a whole host of other settings besides MIDDLEWARE_CLASSES that
one _might_ want to change temporarily for a test; adding them all as
keyword args to the test client is ugly.
You can just change/set the actual setting and then revert after your
test; see [http://www.djangosnippets.org/snippets/1011/] for a snippet to
make that easy.
Not resolving since I'm not a triager (someone higher up tell me if I
should've just gone ahead and resolved this), but almost certain this is a
wontfix.
--
Ticket URL: <http://code.djangoproject.com/ticket/9159#comment:1>
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
-~----------~----~----~----~------~----~------~--~---