예제 #1
0
 def tearDown(self):
     hooks.remove_custom_hook(self.hook_name)
     self.assertFalse(hasattr(hooks, self.hook_name))
     super(CustomHooksTest, self).tearDown()
예제 #2
0
 def cleanup():  # pylint: disable=unused-variable
     hooks.remove_custom_hook("custom_hook")
예제 #3
0
 def cleanup():
     hooks.remove_custom_hook("custom_hook")
예제 #4
0
파일: test_hooks.py 프로젝트: roeiba/slash
 def tearDown(self):
     hooks.remove_custom_hook(self.hook_name)
     self.assertFalse(hasattr(hooks, self.hook_name))
     super(CustomHooksTest, self).tearDown()
예제 #5
0
 def cleanup():
     hooks.remove_custom_hook("custom_hook")