Re: following 302s in WebTest form.submit() (was Best practices for writing functional tests to exercise forms?

2015-11-13 Thread Tim Chase
On 2015-11-13 10:22, Carl Meyer wrote: > As far as I know, you have to call `.follow()` on the response, > which follows the redirect and returns the next response. Is that > what you mean by "manually follow every redirect"? It's manual in a > sense, but there is a convenience method to make it

Re: following 302s in WebTest form.submit() (was Best practices for writing functional tests to exercise forms?

2015-11-13 Thread Carl Meyer
Hi Tim, On 11/13/2015 10:06 AM, Tim Chase wrote: > On 2015-11-09 12:41, Tim Chase wrote: >> On 2015-11-06 01:09, Carl Meyer wrote: >>> [1] https://pypi.python.org/pypi/WebTest >>> [2] https://pypi.python.org/pypi/django-webtest >> >> Just to follow up, django-webtest has been pretty much exactly

Re: following 302s in WebTest form.submit() (was Best practices for writing functional tests to exercise forms?

2015-11-13 Thread Tim Chase
On 2015-11-09 12:41, Tim Chase wrote: > On 2015-11-06 01:09, Carl Meyer wrote: > > [1] https://pypi.python.org/pypi/WebTest > > [2] https://pypi.python.org/pypi/django-webtest > > Just to follow up, django-webtest has been pretty much exactly what > I was looking for. Thanks! Monkeying around