These are chat archives for django/django

25th
Jan 2016
cdhit
@cdhit
Jan 25 2016 04:55
I still do not know how to utilize this gitter tool.
friendOfOurs
@friendOfOurs
Jan 25 2016 11:25
when writing tests for a view that handles post data with Form, which approach is to be preferred:
assertFormError(...) or
form = MyForm(data=form_data) and then run asserts against Form error attributes?
Filip Figiel
@megapctr
Jan 25 2016 13:22
@friendOfOurs doesn't matter, as long as it's consistent
I personally like asserts, but that's because I use pytest
Nicholas Penny
@nickpennyuk
Jan 25 2016 15:40
Im learning pytest as we speak :)