oh,,,thanks a lot for d reply,,,
On Thu, Sep 2, 2010 at 4:33 PM, Daniel Roseman wrote:
> On Sep 2, 9:49 am, girish shabadimath
> wrote:
> > actually i wanted to access values from database and use those values in
> url
> > unittesting,,,
> >
> > like:
> > response = self.client.get('def/defe
On Sep 2, 9:49 am, girish shabadimath
wrote:
> actually i wanted to access values from database and use those values in url
> unittesting,,,
>
> like:
> response = self.client.get('def/defect/', {'*ID*':*id*})
> self.failUnlessEqual(response.status_code, 200)
>
> how to get id from database..?,,,a
buddy did i convince u..?,,,reply soon...solution to my problem,,
On Thu, Sep 2, 2010 at 2:19 PM, girish shabadimath wrote:
> actually i wanted to access values from database and use those values in
> url unittesting,,,
>
> like:
> response = self.client.get('def/defect/', {'*ID*':*id*})
> self.
actually i wanted to access values from database and use those values in url
unittesting,,,
like:
response = self.client.get('def/defect/', {'*ID*':*id*})
self.failUnlessEqual(response.status_code, 200)
how to get id from database..?,,,and also i want this test to be done for
each id in database,
On Sep 2, 8:17 am, girishmss wrote:
> Hi folks,im working on django project,,is there a way to access db
> without using fixtures,, as fixtures is not working in my project,,i
> want to test urls of type:
>
> /abc/xyz/123 where '123' comes from database.,
>
>
5 matches
Mail list logo