Re: Unit testing in django for django template

2016-10-12 Thread ludovic coues
('.//input[@name="password"]')), 1) You'll need to install the package lxml for the import to work 2016-10-12 22:23 GMT+02:00 James Schneider : > In general, you would request the page and inspect the rendered output. > > https://docs.djangoproject.com/en/1.

Re: Unit testing in django for django template

2016-10-12 Thread James Schneider
In general, you would request the page and inspect the rendered output. https://docs.djangoproject.com/en/1.10/topics/testing/tools/#testing-responses -James On Wed, Oct 12, 2016 at 12:17 PM, wrote: > How to Unit testing in django for django template > > please any on

Unit testing in django for django template

2016-10-12 Thread codemaster472
How to Unit testing in django for django template please any one help me??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: Unit testing in django without using test client

2010-09-17 Thread Paul Winkler
On Fri, Sep 17, 2010 at 10:58:19AM +0530, girish shabadimath wrote: > hi Paul, > > thanks for d reply,,,but im new to python n django,,,dint do ne python unit > testing before,,can u plz give me some links or hints to start with... http://docs.djangoproject.com/en/1.2/topics/testing/ has plenty

Re: Unit testing in django without using test client

2010-09-17 Thread Paul Winkler
On Fri, Sep 17, 2010 at 10:58:19AM +0530, girish shabadimath wrote: > hi Paul, > > thanks for d reply,,,but im new to python n django,,,dint do ne python unit > testing before,,can u plz give me some links or hints to start with... http://docs.djangoproject.com/en/1.2/topics/testing/ has plenty

Re: Unit testing in django without using test client

2010-09-17 Thread Carlton Gibson
Hi Girish, On 17 Sep 2010, at 06:28, girish shabadimath wrote: > thanks for d reply,,,but im new to python n django,,,dint do ne python unit > testing before,,can u plz give me some links or hints to start with... IN that case I'd recommend this book: http://www.amazon.com/Django-Testing-Deb

Re: Unit testing in django without using test client

2010-09-16 Thread girish shabadimath
hi Paul, thanks for d reply,,,but im new to python n django,,,dint do ne python unit testing before,,can u plz give me some links or hints to start with... On Thu, Sep 16, 2010 at 8:09 PM, Paul Winkler wrote: > On Sep 16, 10:11 am, girish shabadimath > wrote: > > thanks for reply, > > actually

Re: Unit testing in django without using test client

2010-09-16 Thread Paul Winkler
On Sep 16, 10:11 am, girish shabadimath wrote: > thanks for reply, > actually i used unit test to test urls and other view functions,,,there is a > module called Client() in django which acts as a browser to test urls,,, > > my problem is ,i want to test other methods in my project,,, how to do >

Re: Unit testing in django without using test client

2010-09-16 Thread girish shabadimath
thanks for reply, actually i used unit test to test urls and other view functions,,,there is a module called Client() in django which acts as a browser to test urls,,, my problem is ,i want to test other methods in my project,,, how to do so, without making use of django's test client..?.. O

Re: Unit testing in django without using test client

2010-09-16 Thread Shawn Milochik
You can use Python's unittest module to test any Python code (including Django code). What is it about Django's test client or TestCase class that is a problem for you? Shawn -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Unit testing in django without using test client

2010-09-16 Thread girish shabadimath
hi,,, i need to do unit testing in one of d django project, is there any other way to test functions ( or methods ) without using test client..? -- Girish M S -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: Unit Testing in Django.

2009-10-06 Thread veasna bunhor
I have been test it, but it's seem not to be clear to involve into the real project. Could you let me know the other example? On Tue, Oct 6, 2009 at 6:01 PM, Daniel Roseman wrote: > > On Oct 6, 11:55 am, veasna bunhor wrote: > > Do you know how to use unit testing in django ?

Re: Unit Testing in Django.

2009-10-06 Thread Daniel Roseman
On Oct 6, 11:55 am, veasna bunhor wrote: > Do you know how to use unit testing in django ? Could you please give me an > example? > > Thanks in advanced, http://docs.djangoproject.com/en/dev/topics/testing/ -- DR --~--~-~--~~~---~--~~ You received

Re: Unit Testing in Django.

2009-10-06 Thread Russell Keith-Magee
On Tue, Oct 6, 2009 at 6:55 PM, veasna bunhor wrote: > Do you know how to use unit testing in django ? Could you please give me an > example? There's a link to docs labled "Testing: Overview" on the homepage of the documentation. http://docs.djangoproject.com/en/dev/t

Unit Testing in Django.

2009-10-06 Thread veasna bunhor
Do you know how to use unit testing in django ? Could you please give me an example? Thanks in advanced, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen