Decorator for test_database
It won't work as a class decorator, I don't think -- not without dynamically modifying the setup/teardown methods.
Using the the context manager test_database is very useful while testing. But I found myself writing that a lot in the tests which amounted to quite some boilerplate. Perhaps it would be worthwhile to make that usable as class decorator? 

Let me know what you think. 