Re: Testing Django and HTTP Request

2009-02-09 Thread Vitaly Babiy
Hey Alex I got cherrypy to work great I am going to post a blog as soon as my blog is done :) If anyone cares just ask here and I will post a write up here. Vitaly Babiy On Mon, Feb 9, 2009 at 7:52 AM, Vitaly Babiy wrote: > Thank you Alex for you help I will look in to this. > > Vitaly Babiy >

Re: Testing Django and HTTP Request

2009-02-09 Thread Vitaly Babiy
Thank you Alex for you help I will look in to this. Vitaly Babiy On Mon, Feb 9, 2009 at 12:32 AM, Alex Gaynor wrote: > > > On Mon, Feb 9, 2009 at 12:28 AM, Vitaly Babiy wrote: > >> Yeah, it does. I am going to have to look to see if can find a better >> stand alone server to do this instead o

Re: Testing Django and HTTP Request

2009-02-08 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 12:28 AM, Vitaly Babiy wrote: > Yeah, it does. I am going to have to look to see if can find a better stand > alone server to do this instead of patching django. > > Vitaly Babiy > > > On Mon, Feb 9, 2009 at 12:22 AM, Alex Gaynor wrote: > >> >> >> On Mon, Feb 9, 2009 at 12:

Re: Testing Django and HTTP Request

2009-02-08 Thread Vitaly Babiy
Yeah, it does. I am going to have to look to see if can find a better stand alone server to do this instead of patching django. Vitaly Babiy On Mon, Feb 9, 2009 at 12:22 AM, Alex Gaynor wrote: > > > On Mon, Feb 9, 2009 at 12:18 AM, Vitaly Babiy wrote: > >> Yea, but I see a few problems whit t

Re: Testing Django and HTTP Request

2009-02-08 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 12:18 AM, Vitaly Babiy wrote: > Yea, but I see a few problems whit that solution: > >- Hacky >- Still not guaranteed to work( it could take more time) >- Would really slow down the tests > > Vitaly Babiy > > > On Mon, Feb 9, 2009 at 12:15 AM, Alex Gaynor wrote:

Re: Testing Django and HTTP Request

2009-02-08 Thread Vitaly Babiy
Yea, but I see a few problems whit that solution: - Hacky - Still not guaranteed to work( it could take more time) - Would really slow down the tests Vitaly Babiy On Mon, Feb 9, 2009 at 12:15 AM, Alex Gaynor wrote: > > > On Mon, Feb 9, 2009 at 12:13 AM, Vitaly Babiy wrote: > >> Righ

Re: Testing Django and HTTP Request

2009-02-08 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 12:13 AM, Vitaly Babiy wrote: > Right the problem is if I reload the server on ever test, there is not > enough time for the thread to kill the server. So when the next setUp comes > around the port is still in use. > I think I need to find a way to start a HTTP server at t

Re: Testing Django and HTTP Request

2009-02-08 Thread Vitaly Babiy
Right the problem is if I reload the server on ever test, there is not enough time for the thread to kill the server. So when the next setUp comes around the port is still in use. I think I need to find a way to start a HTTP server at the beginning of the test and keep it around till all test are d

Re: Testing Django and HTTP Request

2009-02-08 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 12:06 AM, Vitaly Babiy wrote: > Hello everyone, > > I am working on a project that will need to make a request out to the web > and pull down some data, For testing purpose I was wonder what would be the > best way to test this. I don't want to make the actual request durin

Testing Django and HTTP Request

2009-02-08 Thread Vitaly Babiy
Hello everyone, I am working on a project that will need to make a request out to the web and pull down some data, For testing purpose I was wonder what would be the best way to test this. I don't want to make the actual request during the test, because for one if I am off-line all those tests wil