<div dir="ltr">I mock out forms when I want to test the view, but I don&#39;t want the validation to be triggered.  I see no need to craft test data that passes validation when testing the view.  Doing so means that my view test can now be broken by changing the validation requirements.  This coupling is usually a bad thing.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 24, 2013 at 8:12 AM, andrea crotti <span dir="ltr">&lt;<a href="mailto:andrea.crotti.0@gmail.com" target="_blank">andrea.crotti.0@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Is it really worth to mock the form in this case? <br>
Why can&#39;t you use the real class in this case? </p>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>David<br>blog: <a href="http://www.traceback.org" target="_blank">http://www.traceback.org</a><br>twitter: <a href="http://twitter.com/dstanek" target="_blank">http://twitter.com/dstanek</a><div>
www: <a href="http://dstanek.com" target="_blank">http://dstanek.com</a></div>
</div>