Dear Folks,

While testing my application I found out that the middleware that
implements process_request is not run. This is fine as long as I can
add the required field to the request object before passing the
required URL to self.client.get().

what I want to do is something like this

request.field = 'some value'
self.client.get(url)
assertsomething()

The variable field is checked for in the views and does some
processing based on that. What would be the best way to add this field
to the request sent by self.client.get().

Thanks,

Yours sincerely,
nav

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.

Reply via email to