def setUp(self): super(HookUpdateTest, self).setUp() self.hooks = { 'web': WebHookFactory.get_url(WebHookFactory(user=self.author)), 'push': PushHookFactory.get_url(PushHookFactory(user=self.author)), }
def setUp(self): super(HookPermissionsViewTest, self).setUp() self.url = WebHookFactory.get_url(WebHookFactory(user=self.author))