def tearDown(self): cleanup() super(TestBase, self).tearDown()
def setUp(self): assert spork.internal._test, _('should enable test mode') super(TestBase, self).setUp() cleanup()