Friday, July 30, 2010

Re: test's client.post says post but request.method says GET

On Jul 30, 3:28 am, Phlip <phlip2...@gmail.com> wrote:
> > What's the value of `self.url`? One possibility is that it doesn't end
> > with a slash
>
> Ends with a slash. I'm now checking the response goodies, like
> response.status, to see if any other redirections happen!

Yup - a redirect. My colleagues left SSL turned on. I won't ask how to
mock it in a test I'l just turn it off...

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment