def tearDown(self): hooks.remove_custom_hook(self.hook_name) self.assertFalse(hasattr(hooks, self.hook_name)) super(CustomHooksTest, self).tearDown()
def cleanup(): # pylint: disable=unused-variable hooks.remove_custom_hook("custom_hook")
def cleanup(): hooks.remove_custom_hook("custom_hook")