Re: Test client following redirects despite follow=False?

2009-08-24 Thread ringemup
Ah, that makes a lot more sense. Thank you. On Aug 23, 2:26 pm, Karen Tracey wrote: > On Thu, Aug 20, 2009 at 2:19 PM, ringemup wrote: > > > I'm running the test listed below, and the test client is submitting a > > request to /test2/ despite the follow=False parameter in > > self.client.get(

Re: Test client following redirects despite follow=False?

2009-08-23 Thread Karen Tracey
On Thu, Aug 20, 2009 at 2:19 PM, ringemup wrote: > > I'm running the test listed below, and the test client is submitting a > request to /test2/ despite the follow=False parameter in > self.client.get() -- am I doing something stupid? > >def test_child_redirect(self): >re

Test client following redirects despite follow=False?

2009-08-20 Thread ringemup
I'm running the test listed below, and the test client is submitting a request to /test2/ despite the follow=False parameter in self.client.get() -- am I doing something stupid? def test_child_redirect(self): response = self.client.get('/test/', follow=False, HTTP_HOST=se