Re: [BangPypers] Compare two htmls for unittest

2015-03-14 Thread Arun Ravindran
Hi Amit, First, you need to consider why you need to compare the rendered HTML in the first place. While writing unit tests we don't compare the rendered output most of the time, rather we check the context variables. This is because we don't need to test the render engine of the template language

Re: [BangPypers] Good and practical resources to build Web Apps using Django

2015-03-14 Thread Arun Ravindran
Aby, You have brought out an excellent point. There are several tutorials which are oriented towards building a working web application. But there is a lot of conceptual information that is missed. For instance, why did they design all their models that particular way? What was the best way to cre

Re: [BangPypers] Compare two htmls for unittest

2015-03-14 Thread konark modi
Can you share few examples of valid and invalid cases. ? On Sat, Mar 14, 2015 at 1:01 PM, Amit Sethi wrote: > Hi All , I plan to port my html templates for mail to a new templating > engine. So i am setting up some unit tests for that. However I am not > sure how do i compare two html strings fo

[BangPypers] Compare two htmls for unittest

2015-03-14 Thread Amit Sethi
Hi All , I plan to port my html templates for mail to a new templating engine. So i am setting up some unit tests for that. However I am not sure how do i compare two html strings for equality. There might be places where the strings generated may be different from my test samples but they may rend

Re: [BangPypers] PyCon India 2015 Call for Proposals

2015-03-14 Thread Nitin Kumar
My bad. Thanks Krace. Nitin K On Sat, Mar 14, 2015 at 4:06 PM, kracekumar ramaraju < kracethekingma...@gmail.com> wrote: > No, you must have saved the proposal in draft mode. Make it public. > > On Sat, Mar 14, 2015 at 3:57 PM, Nitin Kumar wrote: > > > Hi All, > > > > Yesterday I proposed one

Re: [BangPypers] PyCon India 2015 Call for Proposals

2015-03-14 Thread kracekumar ramaraju
No, you must have saved the proposal in draft mode. Make it public. On Sat, Mar 14, 2015 at 3:57 PM, Nitin Kumar wrote: > Hi All, > > Yesterday I proposed one talk > > http://in.pycon.org/cfp/pycon-india-2015/proposals/growing-popularity-of-python-in-networking-data-center-companies/ > > but if

Re: [BangPypers] PyCon India 2015 Call for Proposals

2015-03-14 Thread Nitin Kumar
Hi All, Yesterday I proposed one talk http://in.pycon.org/cfp/pycon-india-2015/proposals/growing-popularity-of-python-in-networking-data-center-companies/ but if check out at: http://in.pycon.org/cfp/pycon-india-2015/proposals/ it shows just 2 and not listing mine. Is this a bug or it has been r

[BangPypers] PyCon India 2015 Call for Proposals

2015-03-14 Thread Chandan Kumar
Hi, PyCon India 2015 will be taking place from October 02-04 in Bangalore and we're ready to accept proposals. The PyCon India website has received a beautiful refresh, Check out our new website at: http://in.pycon.org/2015/ We have received good numbers of proposals over each of the last sev