Hi!
Is there any way to access request.session from a unit test if I have
a response that is a HttpResponseRedirect. I know HttpResponse have
the attribute session but HttpResponseRedirect does not. I've read
that HttpResponseRedirect is a subclass of HttpResponse, can I access
to the HttpResponse with the session variable through
HttpResponseRedirect?
Any way of testing this?
The situation is that when I create a user succesfull after posting a
form I add a variable called 'notification' to the request.session
array and I want to test if it is filled properly.
Thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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