Re: URL with querystring does not work while doing unittest

2008-06-15 Thread ksachdeva
Thanks. This helped. Regards Kapil On Jun 15, 7:34 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 7:32 AM, ksachdeva <[EMAIL PROTECTED]> wrote: > > > When I try to write a unittest which does self.client.get("/myurl/ > > snode/?S=4&V=3") I get template does not ex

Re: URL with querystring does not work while doing unittest

2008-06-15 Thread Russell Keith-Magee
On Mon, Jun 16, 2008 at 7:32 AM, ksachdeva <[EMAIL PROTECTED]> wrote: > > When I try to write a unittest which does self.client.get("/myurl/ > snode/?S=4&V=3") I get template does not exists (TemplateDoesNotExist > exception). Django's test client doesn't do any intelligent parsing of URLs to pul

URL with querystring does not work while doing unittest

2008-06-15 Thread ksachdeva
Hi, One of the url I have to entertain is "/myurl/snode/?S=4&V=3". I have not done anything special in urlpatterns to handle this for e.g. my url patter for this is (r'^myurl/snode/ $','site.timtim.views.doSomething') If I go to "/myurl/snode/?S=4&V=3" from my browser things work. In my view I c