uberj/cyder — Issue #1: Clean up tests with generic functions.
Author: uberj
Created: 2012-01-23 05:39:54+00:00
State: open

Testing exceptions is done in every module. The pattern is:
```
try:
call_function_with_input_that_throws_exception( bad_input )
except Exception, e:
pass
self.assertEqual( Exception, type(e))
```
This can be condensed into a generic function very easily.