mozilla/socorro — pull request #312 by AdrianGaudebert (2012-02-01 18:24:21+00:00)
Title: Fixes bug 721187 - Added unit tests for most of the new middleware code.

Also made older tests follow the new style for tests (class inheriting unittest.TestCase).

Note that not _everything_ in the middleware is tested because there are lots of functions that need a populated database to be tested. I'm working on a different (and better? ) solution for those functions.