If you put this on `TestCase` instead in `test/__init__.py` it will automatically be inherited by test classes (that's one less hack below).