> > Ahhh. So after I've used login() once in a test, get() will pass the
> > existing session cookie, in which case my test to retrieve two pages
> while
> > logged in would look like :
> > client.login(...)
> > client.get(...)
> > Does that sound right ? I'll try that later today.
> 
> Sounds like you have the idea.

And for the record, that was indeed the answer.
I effectively had to replace my second (and subsequent) call to login()
(within the one test case) with a call to get().
An alternative is to split them into separate test cases, of course.

Thanks for the help !

Chris




--~--~---------~--~----~------------~-------~--~----~
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