Can you share few examples of valid and invalid cases. ? On Sat, Mar 14, 2015 at 1:01 PM, Amit Sethi <amit.pureene...@gmail.com> 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 for equality. There might be > places where the strings generated may be different from my test > samples but they may render as similar. How should I tackle that. I > tried consuming both the strings as BeautifulSoup objects and > comparing the result. But still i get failure for htmls which I think > are same. > > > Thanks > Amit > > -- > A-M-I-T S|S > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > https://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers