(self)
| 218 | self.assertEqual(self.org.name, "Name edited by PyGithub") |
| 219 | |
| 220 | def testEditHookWithMinimalParameters(self): |
| 221 | hook = self.org.create_hook("web", {"url": "http://foobar.com"}) |
| 222 | hook = self.org.edit_hook(hook.id, "mobile", {"url": "http://barfoo.com"}) |
| 223 | self.assertEqual(hook.name, "mobile") |
| 224 | |
| 225 | def testEditHookWithAllParameters(self): |
| 226 | hook = self.org.create_hook("web", {"url": "http://foobar.com"}, ["fork"], False) |
nothing calls this directly
no test coverage detected