Re: Django docs and automation tests

2009-01-25 Thread Russell Keith-Magee
On Mon, Jan 26, 2009 at 12:32 AM, Oleg Oltar wrote: > Hi! > Can you please explain me idea of testing django applications with Client() > There many examples in doc, where test cases just checked the > response.status_code == 200, > But I am often getting 302 instead of

Re: Django docs and automation tests

2009-01-25 Thread Milan Andric
On Jan 25, 9:32 am, Oleg Oltar wrote: > Hi! > Can you please explain me idea of testing django applications with Client() > > There many examples in doc, where test cases just checked the > response.status_code == 200, > > But I am often getting 302 instead of 200. Is

Re: Django docs and automation tests

2009-01-25 Thread Karen Tracey
On Sun, Jan 25, 2009 at 10:32 AM, Oleg Oltar wrote: > Hi! > Can you please explain me idea of testing django applications with Client() > > There many examples in doc, where test cases just checked the > response.status_code == 200, > > But I am often getting 302 instead

Django docs and automation tests

2009-01-25 Thread Oleg Oltar
Hi! Can you please explain me idea of testing django applications with Client() There many examples in doc, where test cases just checked the response.status_code == 200, But I am often getting 302 instead of 200. Is there any workaround in this case? thanks, Oleg