ASHMCDevelopers/Webfront — pull request #185 by haaksmash (2014-10-28 09:50:48+00:00)
Title: Lets test some things!

Thought it would be cool to have *some* tests that actually do correct assertions. If only I'd done this from the beginning, maybe shit wouldn't have got so jank so fast :( sorry about that, phil.

Adding unit tests like this shouldn't take too long for the other modules --- the only real monsters are `vote.get_winners_for_ballot` and uh everything in the treasury heh.

running `python manage.py test ASHMC.vote.tests` actually passes now! and will break if the measure results page is fubar! BEFORE DEPLOYING!