learning-unlimited/ESP-Website — pull request #364 by gkanwar (2012-05-02 04:15:06+00:00)
Title: Adds several automated tests

- Tests for the Lottery backend (including lunch constraints) -- these are very basic tests that just check that there's no obvious improvements to a student's schedule that weren't made
- Cancelled classes test -- checks whether the appropriate people are emailed, that the class is actually cancelled, and that it shows up in the cancelled classes program printable
- Registration Type Management tests -- Django client tests. One for the admin side of things which checks whether changing registration types from the admin interface actually sets the correct tag to the correct value. One for the student side of things which checks whether having the tag set affects the view in the correct way.

There's also a few random fixes for things, which should have gone in gurtej_fixes, but were necessary for tests for some reason or I just forgot to put them in the other branch.