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=settings.TESTING_DOMAINS[0])
                self.assertRedirects(response, '/test2/', 
target_status_code=200)

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

Reply via email to