Example #1
0
 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)),
     }
Example #2
0
 def setUp(self):
     super(HookPermissionsViewTest, self).setUp()
     self.url = WebHookFactory.get_url(WebHookFactory(user=self.author))