We could try decorating the setUp and tearDown methods. See https://gist.github.com/esc24/acdd2bda54c190cab298