Re: Blank content from unit testing

2008-10-30 Thread jeffhg58
Here is the pasted code. I am wondering how to verify the content of search_form when I initially go to that url http://dpaste.com/87795/ -- Original message -- From: "Karen Tracey" <[EMAIL PROTECTED]> On Thu, Oct 30, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote: But, w

Re: Blank content from unit testing

2008-10-30 Thread Karen Tracey
On Thu, Oct 30, 2008 at 11:50 AM, <[EMAIL PROTECTED]> wrote: > But, when I initialling go to '/resultsdb/search_form/' and the request is > not a get but I a WSGIRequest how to test the content? Because in my view > the only redirect after a request.GET occurs during an if conditional of > when a

Re: Blank content from unit testing

2008-10-30 Thread jeffhg58
But, when I initialling go to '/resultsdb/search_form/' and the request is not a get but I a WSGIRequest how to test the content? Because in my view the only redirect after a request.GET occurs during an if conditional of when a certain button is pressed Jeff -- Original message ---

Re: Blank content from unit testing

2008-10-30 Thread Karen Tracey
On Thu, Oct 30, 2008 at 10:25 AM, jeffhg58 <[EMAIL PROTECTED]> wrote: > > I am currently the django test client and I have run across a > stumbling block. > > When I do a get command for my main screen which is get('/resultsdb/ > search_form/'), the status code > returns a 302 with no content. > B

Blank content from unit testing

2008-10-30 Thread jeffhg58
I am currently the django test client and I have run across a stumbling block. When I do a get command for my main screen which is get('/resultsdb/ search_form/'), the status code returns a 302 with no content. But, if a do a get on say ('/login/') or a subsequent window besides the main window s