(self)
| 223 | self.assertEqual(hook.name, "mobile") |
| 224 | |
| 225 | def testEditHookWithAllParameters(self): |
| 226 | hook = self.org.create_hook("web", {"url": "http://foobar.com"}, ["fork"], False) |
| 227 | hook = self.org.edit_hook(hook.id, "mobile", {"url": "http://barfoo.com"}, ["spoon"], True) |
| 228 | self.assertEqual(hook.name, "mobile") |
| 229 | self.assertEqual(hook.events, ["spoon"]) |
| 230 | self.assertEqual(hook.active, True) |
| 231 | |
| 232 | def testCreateTeam(self): |
| 233 | team = self.org.create_team("Team created by PyGithub") |
nothing calls this directly
no test coverage detected