PyUnit Annotations
This is nice PyUnit add on for using annotations with your unit tests.
You can now annotate a method with @Test
which frees one from being forced to use the naming convention ‘test’ in the method name like: def testSomething(self)
The other annotation that is really nice is @expected_exception(SomeException)
which you normally have to set up a test harness to explicitly catch the exception and test for it, very nice.
Get the recipe here